Mercurial > emacs
annotate oldXMenu/EvHand.c @ 55412:53a1a79a33f9
macterm.c (mac_check_for_quit_char): Adding BLOCK_INPUT
around call to ReceiveEvent to avoid certain crashes.
(mac_draw_line_to_pixmap, XCreatePixmapFromBitmapData)
(mac_fill_rectangle_to_pixmap, mac_draw_rectangle_to_pixmap)
(mac_copy_area_to_pixmap, mac_copy_area_with_mask_to_pixmap):
Save/restore the current graphics port and device handle when
drawing into an offscreen graphics world.
image.c [MAC_OS] (XPutPixel, XGetPixel, image_load_qt_1)
(gif_load): Likewise.
author | Steven Tamm <steventamm@mac.com> |
---|---|
date | Fri, 07 May 2004 17:46:50 +0000 |
parents | e8824c4f5f7e |
children | 3861ff8f4bf1 8e5779acd195 |
rev | line source |
---|---|
25858 | 1 #include "copyright.h" |
2 | |
3 /* Copyright Massachusetts Institute of Technology 1985 */ | |
4 | |
5 /* | |
6 * XMenu: MIT Project Athena, X Window system menu package | |
7 * | |
8 * XMenuEventHandler - Set the XMenu asynchronous event handler. | |
9 * | |
10 * Author: Tony Della Fera, DEC | |
11 * December 19, 1985 | |
12 * | |
13 */ | |
14 | |
15 #include "XMenuInt.h" | |
16 | |
17 XMenuEventHandler(handler) | |
18 int (*handler)(); | |
19 { | |
20 /* | |
21 * Set the global event handler variable. | |
22 */ | |
23 _XMEventHandler = handler; | |
24 } | |
25 | |
52401 | 26 /* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3 |
27 (do not change this comment) */ |