Mercurial > hg > xemacs-beta
comparison src/event-Xt.c @ 408:501cfd01ee6d r21-2-34
Import from CVS: tag r21-2-34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:18:11 +0200 |
parents | b8cc9ab3f761 |
children | de805c49cfc1 |
comparison
equal
deleted
inserted
replaced
407:ed6218a7d4d3 | 408:501cfd01ee6d |
---|---|
83 /* The one and only one application context that Emacs uses. */ | 83 /* The one and only one application context that Emacs uses. */ |
84 XtAppContext Xt_app_con; | 84 XtAppContext Xt_app_con; |
85 | 85 |
86 /* Do we accept events sent by other clients? */ | 86 /* Do we accept events sent by other clients? */ |
87 int x_allow_sendevents; | 87 int x_allow_sendevents; |
88 | |
89 int modifier_keys_are_sticky; | |
90 | 88 |
91 #ifdef DEBUG_XEMACS | 89 #ifdef DEBUG_XEMACS |
92 int x_debug_events; | 90 int x_debug_events; |
93 #endif | 91 #endif |
94 | 92 |
3158 dispatch_event_queue = Qnil; | 3156 dispatch_event_queue = Qnil; |
3159 staticpro (&dispatch_event_queue); | 3157 staticpro (&dispatch_event_queue); |
3160 dispatch_event_queue_tail = Qnil; | 3158 dispatch_event_queue_tail = Qnil; |
3161 pdump_wire (&dispatch_event_queue_tail); | 3159 pdump_wire (&dispatch_event_queue_tail); |
3162 | 3160 |
3163 DEFVAR_BOOL ("modifier-keys-are-sticky", &modifier_keys_are_sticky /* | |
3164 *Non-nil makes modifier keys sticky. | |
3165 This means that you can release the modifier key before pressing down | |
3166 the key that you wish to be modified. Although this is non-standard | |
3167 behavior, it is recommended because it reduces the strain on your hand, | |
3168 thus reducing the incidence of the dreaded Emacs-pinky syndrome. | |
3169 */ ); | |
3170 modifier_keys_are_sticky = 0; | |
3171 | |
3172 DEFVAR_BOOL ("x-allow-sendevents", &x_allow_sendevents /* | 3161 DEFVAR_BOOL ("x-allow-sendevents", &x_allow_sendevents /* |
3173 *Non-nil means to allow synthetic events. Nil means they are ignored. | 3162 *Non-nil means to allow synthetic events. Nil means they are ignored. |
3174 Beware: allowing emacs to process SendEvents opens a big security hole. | 3163 Beware: allowing emacs to process SendEvents opens a big security hole. |
3175 */ ); | 3164 */ ); |
3176 x_allow_sendevents = 0; | 3165 x_allow_sendevents = 0; |