Mercurial > emacs
annotate msdos/sedalloc.inp @ 107887:948294352a25
Don't redraw lucid menus more than needed. Use double buffer to reduce flicker.
* xlwmenu.c: Include Shell.h, remove duplicate declaration of
XlwMenuRedisplay.
(display_menu_item): Replace ws->window with ws->pixmap, remove
call to XftDrawRect.
(display_menu): Remove this and that argument. Remove
just_compute_this_one_p. Fill pixmap at start and copy it to window
at end.
(expose_cb): New function.
(make_windows_if_needed): Replace XCreateWindow with XtCreatePopup.
Add eventhandler for expose to expose_cb. Remove creation of
xft_draw.
(create_pixmap_for_menu): New function.
(remap_menubar): Pop down menus that aren't the same as in old_stack.
Set width, heigh, x, y on widget with XtVaSetValues. Call
create_pixmap_for_menu.
Replace XUnmapWindow with XtPopdown.
Remowe two last parameters to display_menu.
(map_event_to_widget_value, XlwMenuRedisplay, Key, Select)
(pop_up_menu): Remowe two last parameters to display_menu.
(XlwMenuRealize): Call create_pixmap_for_menu, set w and pixmap.
Remove call to XftDrawCreate.
(XlwMenuDestroy): Free pixmap. Call XtDestroyWidget instead of
XDestroyWindow.
(handle_motion_event): Only call handle_single_motion_event once.
* xlwmenuP.h (window_state): Add pixmap and w.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Sat, 17 Apr 2010 19:49:18 +0200 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
rev | line source |
---|---|
100556 | 1 # -sedalloc.inp----------------------------------------------------------- |
2 # Configuration script for SYSTEM_MALLOC/REL_ALLOC in src/config.h | |
3 # ---------------------------------------------------------------------- | |
4 # | |
106815 | 5 # Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. |
100556 | 6 # |
7 # This file is part of GNU Emacs. | |
8 # | |
9 # This file is free software; as a special exception, the author gives | |
10 # unlimited permission to copy and/or distribute it, with or without | |
11 # modifications, as long as this notice is preserved. | |
12 # | |
13 # This program is distributed in the hope that it will be useful, | |
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
16 # | |
17 # ---------------------------------------------------------------------- | |
18 /^#define GNU_MALLOC *1 *$/s|^.*$|/* #undef GNU_MALLOC */| | |
19 /^#define REL_ALLOC.*$/a\ | |
20 \ | |
21 /* Inserted by the --with-system-malloc switch to config.bat. */\ | |
22 #define SYSTEM_MALLOC 1 | |
23 /^#define REL_ALLOC *1 *$/s|^.*$|/* #undef REL_ALLOC */| | |
24 | |
100621 | 25 # arch-tag: 20b3ad5d-fcd7-4751-aa34-e94e770ded87 |