aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h
diff options
context:
space:
mode:
authorPaul Eggert2013-12-07 15:04:10 -0800
committerPaul Eggert2013-12-07 15:04:10 -0800
commit67840e6629754dc1a9196fed4910b58e4e7abd89 (patch)
tree797c405b0afc688355bba15c4a71830f003e3c26 /src/xterm.h
parent73c8ceea1ab335aae9221a671ae0959704669a52 (diff)
downloademacs-67840e6629754dc1a9196fed4910b58e4e7abd89.tar.gz
emacs-67840e6629754dc1a9196fed4910b58e4e7abd89.zip
Fix minor problems found by static checking.
* keyboard.c (poll_for_input_1, input_polling_used): Define only if HAVE_NTGUI. * xmenu.c (popup_activate_callback): Omit unnecessary check against USE_X_TOOLKIT, which must be defined here anyway. * xterm.c, xterm.h (x_dispatch_event) [! (USE_X_TOOLKIT || USE_MOTIF)]: Now static.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 3d954fb8600..eff75403476 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -945,7 +945,9 @@ extern void x_clear_area (Display *, Window, int, int, int, int);
945extern void x_mouse_leave (struct x_display_info *); 945extern void x_mouse_leave (struct x_display_info *);
946#endif 946#endif
947 947
948#if defined USE_X_TOOLKIT || defined USE_MOTIF
948extern int x_dispatch_event (XEvent *, Display *); 949extern int x_dispatch_event (XEvent *, Display *);
950#endif
949extern int x_x_to_emacs_modifiers (struct x_display_info *, int); 951extern int x_x_to_emacs_modifiers (struct x_display_info *, int);
950extern int x_display_pixel_height (struct x_display_info *); 952extern int x_display_pixel_height (struct x_display_info *);
951extern int x_display_pixel_width (struct x_display_info *); 953extern int x_display_pixel_width (struct x_display_info *);