view .bzrignore @ 107886:9a798edc503b

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:43:03 +0200
parents 0a321c28c1b4
children c168d4537385
line wrap: on
line source

./bin
./BIN
./data
./etc/icons
./lock
./site-lisp
./_dir-locals.el
./config.log
./config.status
oo
oo-spd
autom4te.cache
*.elc
*.exe
DOC
DOC-*
makefile
Makefile
Makefile.c
stamp_BLD
subdirs.el
TAGS
TAGS-LISP
info/*
leim/leim-list.el
leim/quail/*.el
leim/changed.misc
leim/changed.tit
lib-src/ctags.c
lib-src/echolisp.tmp
lib-src/getopt.h
lib-src/b2m
lib-src/ctags
lib-src/digest-doc
lib-src/ebrowse
lib-src/emacsclient
lib-src/etags
lib-src/fakemail
lib-src/hexl
lib-src/make-docfile
lib-src/movemail
lib-src/profile
lib-src/sorted-doc
lib-src/test-distrib
lib-src/update-game-score
lisp/**/*-loaddefs.el
lisp/**/loaddefs.el
lisp/cus-load.el
lisp/eshell/esh-groups.el
lisp/finder-inf.el
nt/config.log
src/buildobj.h
src/config.h
src/epaths.h
src/_dbxinit
src/_gdbinit
src/gdb.ini
src/bootstrap-emacs
src/emacs
src/emacs-*
src/prefix-args*
src/stamp-oldxmenu
src/temacs
src/deps
configure.lineno
conftest*
confdefs.h
core