Mercurial > emacs
view oldXMenu/SetAEQ.c @ 74621:130738a27be7
(ignore_mouse_drag_p): New global var.
(some_mouse_moved): Return 0 if it is non-zero.
(make_lispy_event): Generate click event on mouse up if
ignore_mouse_drag_p is non-zero, even if mouse moved.
Clear ignore_mouse_drag_p on mouse down/up.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 15 Dec 2006 00:22:57 +0000 |
parents | ce127a46b1ca |
children | 3d45362f1d38 17e0dd217877 6588c6259dfb |
line wrap: on
line source
#include "copyright.h" /* Copyright Massachusetts Institute of Technology 1985 */ /* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. */ /* * XMenu: MIT Project Athena, X Window system menu package * * XMenuSetAEQ - Set Asynchronous event queuing mode. * When enabled asynchronous events will be queue while * a menu is being displayed and restored to the X * event queue when the menu is taken down. * * Author: Tony Della Fera, DEC * March 12, 1986 * */ #include "XMenuInt.h" XMenuSetAEQ(menu, aeq) register XMenu *menu; /* Menu object to be modified. */ register int aeq; /* AEQ mode? */ { /* * Set the AEQ mode switch. */ menu->aeq = aeq; } /* arch-tag: 48fc22b4-0722-4852-a044-788444e4a9dc (do not change this comment) */