annotate oldXMenu/SetAEQ.c @ 72550:666bd542be19

(get_window_cursor_type): Replace BOX cursor on images with a hollow box cursor if image is larger than 32x32 (or the default frame font if that is bigger). Replace any other cursor on images with hollow box cursor, as redisplay doesn't support bar and hbar cursors on images.
author Kim F. Storm <storm@cua.dk>
date Sun, 27 Aug 2006 22:23:07 +0000
parents e8a3fb527b77
children ce127a46b1ca d04d8ccb3c41 c5406394f567
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
1 #include "copyright.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
2
Dave Love <fx@gnu.org>
parents:
diff changeset
3 /* Copyright Massachusetts Institute of Technology 1985 */
68640
e8a3fb527b77 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 65000
diff changeset
4 /* Copyright (C) 2002, 2003, 2004, 2005,
e8a3fb527b77 Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents: 65000
diff changeset
5 2006 Free Software Foundation, Inc. */
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
6
Dave Love <fx@gnu.org>
parents:
diff changeset
7 /*
Dave Love <fx@gnu.org>
parents:
diff changeset
8 * XMenu: MIT Project Athena, X Window system menu package
Dave Love <fx@gnu.org>
parents:
diff changeset
9 *
Dave Love <fx@gnu.org>
parents:
diff changeset
10 * XMenuSetAEQ - Set Asynchronous event queuing mode.
Dave Love <fx@gnu.org>
parents:
diff changeset
11 * When enabled asynchronous events will be queue while
Dave Love <fx@gnu.org>
parents:
diff changeset
12 * a menu is being displayed and restored to the X
Dave Love <fx@gnu.org>
parents:
diff changeset
13 * event queue when the menu is taken down.
Dave Love <fx@gnu.org>
parents:
diff changeset
14 *
Dave Love <fx@gnu.org>
parents:
diff changeset
15 * Author: Tony Della Fera, DEC
Dave Love <fx@gnu.org>
parents:
diff changeset
16 * March 12, 1986
Dave Love <fx@gnu.org>
parents:
diff changeset
17 *
Dave Love <fx@gnu.org>
parents:
diff changeset
18 */
Dave Love <fx@gnu.org>
parents:
diff changeset
19
Dave Love <fx@gnu.org>
parents:
diff changeset
20 #include "XMenuInt.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
21
Dave Love <fx@gnu.org>
parents:
diff changeset
22 XMenuSetAEQ(menu, aeq)
Dave Love <fx@gnu.org>
parents:
diff changeset
23 register XMenu *menu; /* Menu object to be modified. */
Dave Love <fx@gnu.org>
parents:
diff changeset
24 register int aeq; /* AEQ mode? */
Dave Love <fx@gnu.org>
parents:
diff changeset
25 {
Dave Love <fx@gnu.org>
parents:
diff changeset
26 /*
Dave Love <fx@gnu.org>
parents:
diff changeset
27 * Set the AEQ mode switch.
Dave Love <fx@gnu.org>
parents:
diff changeset
28 */
Dave Love <fx@gnu.org>
parents:
diff changeset
29 menu->aeq = aeq;
Dave Love <fx@gnu.org>
parents:
diff changeset
30 }
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 25858
diff changeset
31
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 25858
diff changeset
32 /* arch-tag: 48fc22b4-0722-4852-a044-788444e4a9dc
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 25858
diff changeset
33 (do not change this comment) */