1272 |
int |
int |
1273 |
ui_select(int rdp_socket) |
ui_select(int rdp_socket) |
1274 |
{ |
{ |
1275 |
int n = (rdp_socket > g_x_socket) ? rdp_socket : g_x_socket; |
int n; |
1276 |
fd_set rfds, wfds; |
fd_set rfds, wfds; |
1277 |
struct timeval tv; |
struct timeval tv; |
1278 |
BOOL s_timeout = False; |
BOOL s_timeout = False; |
1279 |
|
|
1280 |
while (True) |
while (True) |
1281 |
{ |
{ |
1282 |
|
n = (rdp_socket > g_x_socket) ? rdp_socket : g_x_socket; |
1283 |
/* Process any events already waiting */ |
/* Process any events already waiting */ |
1284 |
if (!xwin_process_events()) |
if (!xwin_process_events()) |
1285 |
/* User quit */ |
/* User quit */ |