946 |
ui_create_window(void) |
ui_create_window(void) |
947 |
{ |
{ |
948 |
uint8 null_pointer_mask[1] = { 0x80 }; |
uint8 null_pointer_mask[1] = { 0x80 }; |
949 |
uint8 null_pointer_data[9] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; |
uint8 null_pointer_data[24] = { 0x00 }; |
950 |
|
|
951 |
XSetWindowAttributes attribs; |
XSetWindowAttributes attribs; |
952 |
XClassHint *classhints; |
XClassHint *classhints; |
953 |
XSizeHints *sizehints; |
XSizeHints *sizehints; |
1435 |
error("select: %s\n", strerror(errno)); |
error("select: %s\n", strerror(errno)); |
1436 |
|
|
1437 |
case 0: |
case 0: |
1438 |
/* TODO: if tv.tv_sec just times out |
/* Abort serial read calls */ |
1439 |
* we will segfault. |
if (s_timeout) |
1440 |
* FIXME: |
rdpdr_check_fds(&rfds, &wfds, (BOOL) True); |
|
*/ |
|
|
//s_timeout = True; |
|
|
//rdpdr_check_fds(&rfds, &wfds, (BOOL) True); |
|
1441 |
continue; |
continue; |
1442 |
} |
} |
1443 |
|
|