Mercurial > emacs
comparison src/xterm.h @ 72854:f295b430aa3a
* xterm.c (x_initialize): Don't install Xt event timer here.
(x_timeout_atimer_activated_flag): New var.
(x_activate_timeout_atimer): New function to install Xt timer.
(x_send_scroll_bar_event, x_process_timeouts): Use it.
* xmenu.c (x_menu_set_in_use, popup_activate_callback)
(create_and_show_popup_menu, create_and_show_dialog): Use it.
* xterm.h (x_activate_timeout_atimer): prototype.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 13 Sep 2006 22:39:23 +0000 |
parents | 5f6d1ddc1872 |
children | e240939ffc28 2d56e13fd23d a1a25ac6c88a |
comparison
equal
deleted
inserted
replaced
72853:4ee2b4b1cf76 | 72854:f295b430aa3a |
---|---|
999 #ifdef USE_X_TOOLKIT | 999 #ifdef USE_X_TOOLKIT |
1000 extern XtAppContext Xt_app_con; | 1000 extern XtAppContext Xt_app_con; |
1001 extern int x_alloc_lighter_color_for_widget __P ((Widget, Display*, Colormap, | 1001 extern int x_alloc_lighter_color_for_widget __P ((Widget, Display*, Colormap, |
1002 unsigned long *, | 1002 unsigned long *, |
1003 double, int)); | 1003 double, int)); |
1004 extern void x_activate_timeout_atimer P_ ((void)); | |
1004 #endif | 1005 #endif |
1005 extern void x_query_colors P_ ((struct frame *f, XColor *, int)); | 1006 extern void x_query_colors P_ ((struct frame *f, XColor *, int)); |
1006 extern void x_query_color P_ ((struct frame *f, XColor *)); | 1007 extern void x_query_color P_ ((struct frame *f, XColor *)); |
1007 extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int)); | 1008 extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int)); |
1008 extern void set_vertical_scroll_bar P_ ((struct window *)); | 1009 extern void set_vertical_scroll_bar P_ ((struct window *)); |