comparison src/gpmevent.c @ 404:2f8bb876ab1d r21-2-32

Import from CVS: tag r21-2-32
author cvs
date Mon, 13 Aug 2007 11:16:07 +0200
parents 74fd4e045ea6
children de805c49cfc1
comparison
equal deleted inserted replaced
403:9f011ab08d48 404:2f8bb876ab1d
138 event->channel = Fselected_frame (Qnil); /* CONSOLE_SELECTED_FRAME (con); */ 138 event->channel = Fselected_frame (Qnil); /* CONSOLE_SELECTED_FRAME (con); */
139 139
140 /* Whow, wouldn't named defines be NICE!?!?! */ 140 /* Whow, wouldn't named defines be NICE!?!?! */
141 modifiers = 0; 141 modifiers = 0;
142 142
143 if (ev.modifiers & 1) modifiers |= MOD_SHIFT; 143 if (ev.modifiers & 1) modifiers |= XEMACS_MOD_SHIFT;
144 if (ev.modifiers & 2) modifiers |= MOD_META; 144 if (ev.modifiers & 2) modifiers |= XEMACS_MOD_META;
145 if (ev.modifiers & 4) modifiers |= MOD_CONTROL; 145 if (ev.modifiers & 4) modifiers |= XEMACS_MOD_CONTROL;
146 if (ev.modifiers & 8) modifiers |= MOD_META; 146 if (ev.modifiers & 8) modifiers |= XEMACS_MOD_META;
147 147
148 if (ev.buttons & GPM_B_LEFT) 148 if (ev.buttons & GPM_B_LEFT)
149 { 149 {
150 button = 1; 150 button = 1;
151 } 151 }