comparison src/keymap.c @ 265:8efd647ea9ca r20-5b31

Import from CVS: tag r20-5b31
author cvs
date Mon, 13 Aug 2007 10:25:37 +0200
parents 727739f917cb
children 966663fcf606
comparison
equal deleted inserted replaced
264:682d2a9d41a5 265:8efd647ea9ca
242 #if defined(HAVE_OFFIX_DND) || defined(HAVE_MS_WINDOWS) 242 #if defined(HAVE_OFFIX_DND) || defined(HAVE_MS_WINDOWS)
243 Lisp_Object Qdrop0, Qdrop1, Qdrop2, Qdrop3, Qdrop4, Qdrop5, Qdrop6, Qdrop7; 243 Lisp_Object Qdrop0, Qdrop1, Qdrop2, Qdrop3, Qdrop4, Qdrop5, Qdrop6, Qdrop7;
244 #endif 244 #endif
245 Lisp_Object Qmenu_selection; 245 Lisp_Object Qmenu_selection;
246 /* Emacs compatibility */ 246 /* Emacs compatibility */
247 Lisp_Object Qdown_mouse_1, Qdown_mouse_2, Qdown_mouse_3; 247 Lisp_Object Qdown_mouse_1, Qdown_mouse_2, Qdown_mouse_3, Qdown_mouse_4,
248 Lisp_Object Qmouse_1, Qmouse_2, Qmouse_3; 248 Qdown_mouse_5;
249 Lisp_Object Qmouse_1, Qmouse_2, Qmouse_3, Qmouse_4, Qmouse_5;
249 250
250 /* Kludge kludge kludge */ 251 /* Kludge kludge kludge */
251 Lisp_Object QLFD, QTAB, QRET, QESC, QDEL, QSPC, QBS; 252 Lisp_Object QLFD, QTAB, QRET, QESC, QDEL, QSPC, QBS;
252 253
253 254
1365 *keysym = Qbutton1; 1366 *keysym = Qbutton1;
1366 else if (EQ(*keysym, Qdown_mouse_2)) 1367 else if (EQ(*keysym, Qdown_mouse_2))
1367 *keysym = Qbutton2; 1368 *keysym = Qbutton2;
1368 else if (EQ(*keysym, Qdown_mouse_3)) 1369 else if (EQ(*keysym, Qdown_mouse_3))
1369 *keysym = Qbutton3; 1370 *keysym = Qbutton3;
1371 else if (EQ(*keysym, Qdown_mouse_4))
1372 *keysym = Qbutton4;
1373 else if (EQ(*keysym, Qdown_mouse_5))
1374 *keysym = Qbutton5;
1370 else if (EQ(*keysym, Qmouse_1)) 1375 else if (EQ(*keysym, Qmouse_1))
1371 *keysym = Qbutton1up; 1376 *keysym = Qbutton1up;
1372 else if (EQ(*keysym, Qmouse_2)) 1377 else if (EQ(*keysym, Qmouse_2))
1373 *keysym = Qbutton2up; 1378 *keysym = Qbutton2up;
1374 else if (EQ(*keysym, Qmouse_3)) 1379 else if (EQ(*keysym, Qmouse_3))
1375 *keysym = Qbutton3up; 1380 *keysym = Qbutton3up;
1381 else if (EQ(*keysym, Qmouse_4))
1382 *keysym = Qbutton4up;
1383 else if (EQ(*keysym, Qmouse_5))
1384 *keysym = Qbutton5up;
1376 } 1385 }
1377 } 1386 }
1378 1387
1379 1388
1380 /* Given any kind of key-specifier, return a keysym and modifier mask. 1389 /* Given any kind of key-specifier, return a keysym and modifier mask.
4301 defsymbol (&Qdrop7, "drop7"); 4310 defsymbol (&Qdrop7, "drop7");
4302 #endif 4311 #endif
4303 defsymbol (&Qmouse_1, "mouse-1"); 4312 defsymbol (&Qmouse_1, "mouse-1");
4304 defsymbol (&Qmouse_2, "mouse-2"); 4313 defsymbol (&Qmouse_2, "mouse-2");
4305 defsymbol (&Qmouse_3, "mouse-3"); 4314 defsymbol (&Qmouse_3, "mouse-3");
4315 defsymbol (&Qmouse_4, "mouse-4");
4316 defsymbol (&Qmouse_5, "mouse-5");
4306 defsymbol (&Qdown_mouse_1, "down-mouse-1"); 4317 defsymbol (&Qdown_mouse_1, "down-mouse-1");
4307 defsymbol (&Qdown_mouse_2, "down-mouse-2"); 4318 defsymbol (&Qdown_mouse_2, "down-mouse-2");
4308 defsymbol (&Qdown_mouse_3, "down-mouse-3"); 4319 defsymbol (&Qdown_mouse_3, "down-mouse-3");
4320 defsymbol (&Qdown_mouse_4, "down-mouse-4");
4321 defsymbol (&Qdown_mouse_5, "down-mouse-5");
4309 defsymbol (&Qmenu_selection, "menu-selection"); 4322 defsymbol (&Qmenu_selection, "menu-selection");
4310 defsymbol (&QLFD, "LFD"); 4323 defsymbol (&QLFD, "LFD");
4311 defsymbol (&QTAB, "TAB"); 4324 defsymbol (&QTAB, "TAB");
4312 defsymbol (&QRET, "RET"); 4325 defsymbol (&QRET, "RET");
4313 defsymbol (&QESC, "ESC"); 4326 defsymbol (&QESC, "ESC");