diff options
| author | Paul Eggert | 2011-04-16 09:44:58 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-16 09:44:58 -0700 |
| commit | dda3aeddcbf2dbfb9c517b093726703fa5c24800 (patch) | |
| tree | 28e26d1f138a5e97e0e078ec21db33b269483517 /src/xterm.c | |
| parent | 748945cc8b8c7898e922f0e658f60dc4994e43ef (diff) | |
| download | emacs-dda3aeddcbf2dbfb9c517b093726703fa5c24800.tar.gz emacs-dda3aeddcbf2dbfb9c517b093726703fa5c24800.zip | |
* xterm.c (x_dispatch_event): More accurate ifdefs.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 74eff795ee4..42aca334769 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -349,7 +349,7 @@ static void x_check_expected_move (struct frame *, int, int); | |||
| 349 | static void x_sync_with_move (struct frame *, int, int, int); | 349 | static void x_sync_with_move (struct frame *, int, int, int); |
| 350 | static int handle_one_xevent (struct x_display_info *, XEvent *, | 350 | static int handle_one_xevent (struct x_display_info *, XEvent *, |
| 351 | int *, struct input_event *); | 351 | int *, struct input_event *); |
| 352 | #if !defined USE_GTK && defined USE_X_TOOLKIT | 352 | #ifdef USE_GTK |
| 353 | static int x_dispatch_event (XEvent *, Display *); | 353 | static int x_dispatch_event (XEvent *, Display *); |
| 354 | #endif | 354 | #endif |
| 355 | /* Don't declare this NO_RETURN because we want no | 355 | /* Don't declare this NO_RETURN because we want no |
| @@ -6977,7 +6977,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, XEvent *eventptr, | |||
| 6977 | return count; | 6977 | return count; |
| 6978 | } | 6978 | } |
| 6979 | 6979 | ||
| 6980 | #if defined USE_GTK || (defined HAVE_MENUS && defined USE_X_TOOLKIT) | 6980 | #if defined USE_GTK || defined USE_X_TOOLKIT |
| 6981 | 6981 | ||
| 6982 | /* Handles the XEvent EVENT on display DISPLAY. | 6982 | /* Handles the XEvent EVENT on display DISPLAY. |
| 6983 | This is used for event loops outside the normal event handling, | 6983 | This is used for event loops outside the normal event handling, |