1109 |
secs = x_selection_timeout / 1000; |
secs = x_selection_timeout / 1000; |
1110 |
usecs = (x_selection_timeout % 1000) * 1000; |
usecs = (x_selection_timeout % 1000) * 1000; |
1111 |
TRACE2 (" Waiting %d secs, %d usecs", secs, usecs); |
TRACE2 (" Waiting %d secs, %d usecs", secs, usecs); |
1112 |
wait_reading_process_input (secs, usecs, property_change_reply, 0); |
wait_reading_process_output (secs, usecs, 0, 0, |
1113 |
|
property_change_reply, NULL, 0); |
1114 |
|
|
1115 |
if (NILP (XCAR (property_change_reply))) |
if (NILP (XCAR (property_change_reply))) |
1116 |
{ |
{ |
1289 |
secs = x_selection_timeout / 1000; |
secs = x_selection_timeout / 1000; |
1290 |
usecs = (x_selection_timeout % 1000) * 1000; |
usecs = (x_selection_timeout % 1000) * 1000; |
1291 |
TRACE1 (" Start waiting %d secs for SelectionNotify", secs); |
TRACE1 (" Start waiting %d secs for SelectionNotify", secs); |
1292 |
wait_reading_process_input (secs, usecs, reading_selection_reply, 0); |
wait_reading_process_output (secs, usecs, 0, 0, |
1293 |
|
reading_selection_reply, NULL, 0); |
1294 |
TRACE1 (" Got event = %d", !NILP (XCAR (reading_selection_reply))); |
TRACE1 (" Got event = %d", !NILP (XCAR (reading_selection_reply))); |
1295 |
|
|
1296 |
BLOCK_INPUT; |
BLOCK_INPUT; |