Mercurial > hg > xemacs-beta
comparison src/input-method-xlib.c @ 5936:574f0cded429 cygwin
try to replace all nnnL or nnnUL constants with EMACS_[U]INT
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Sun, 13 Dec 2015 13:22:58 +0000 |
parents | 308d34e9f07d |
children |
comparison
equal
deleted
inserted
replaced
5935:d5eb0914ca1f | 5936:574f0cded429 |
---|---|
528 new_event.type = ClientMessage; | 528 new_event.type = ClientMessage; |
529 new_event.display = x_key_event->display; | 529 new_event.display = x_key_event->display; |
530 new_event.window = x_key_event->window; | 530 new_event.window = x_key_event->window; |
531 new_event.message_type = wc_atom; | 531 new_event.message_type = wc_atom; |
532 new_event.format = 32; /* 32-bit wide data */ | 532 new_event.format = 32; /* 32-bit wide data */ |
533 new_event.data.l[2] = new_event.data.l[3] = new_event.data.l[4] = 0L; | 533 new_event.data.l[2] = new_event.data.l[3] = new_event.data.l[4] = E0; |
534 new_event.data.l[0] = x_key_event->time; | 534 new_event.data.l[0] = x_key_event->time; |
535 for (i = 0; i < len; i++) | 535 for (i = 0; i < len; i++) |
536 { | 536 { |
537 new_event.data.l[1] = ((wchar_t *) composed_input_buf.data)[i]; | 537 new_event.data.l[1] = ((wchar_t *) composed_input_buf.data)[i]; |
538 XSendEvent (display, main_window, False, 0L, (XEvent *) &new_event); | 538 XSendEvent (display, main_window, False, E0, (XEvent *) &new_event); |
539 } | 539 } |
540 } | 540 } |
541 #endif /* 0 */ | 541 #endif /* 0 */ |
542 | 542 |
543 /* ============================================================== */ | 543 /* ============================================================== */ |