Mercurial > emacs
view .bzrignore @ 106768:21fd634f447a
Make line<->pixel_y conversion macros aware of native menu/tool bars.
They are placed above the internal border. This supersedes special
treatment of native tool bars in the display code.
This fixes wrong display position of native menu bars and bogus mouse
highlighting of native tool bars, both of which can be found when
internal border width is large. Also it fixes wrong flashed part on
visible bell with native menu bars.
* frame.h (FRAME_TOP_MARGIN_HEIGHT): New macro.
(FRAME_LINE_TO_PIXEL_Y, FRAME_PIXEL_Y_TO_LINE): Take account of pseudo
windows above internal border.
* window.h (WINDOW_MENU_BAR_P, WINDOW_TOOL_BAR_P): New macros.
(WINDOW_TOP_EDGE_Y, WINDOW_BOTTOM_EDGE_Y): Take account of pseudo
windows above internal border.
* xdisp.c (get_glyph_string_clip_rects, init_glyph_string): Don't treat
tool bar windows specially.
* xfns.c (x_set_tool_bar_lines): Take account of menu bar height.
* xterm.c (x_after_update_window_line): Don't treat tool bar windows
specially.
(XTflash): Take account of menu bar height.
* w32term.c (x_after_update_window_line): Don't treat tool bar windows
specially.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sat, 09 Jan 2010 13:16:32 +0900 |
parents | a7854ddcdd85 |
children | 5cb0f4fd512e |
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 DOC DOC-* makefile Makefile Makefile.c stamp_BLD subdirs.el TAGS 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/digest-doc.exe lib-src/ebrowse lib-src/emacsclient lib-src/etags lib-src/fakemail lib-src/fakemail.exe lib-src/hexl lib-src/make-docfile lib-src/make-docfile.exe lib-src/movemail lib-src/profile lib-src/profile.exe lib-src/sorted-doc lib-src/sorted-doc.exe lib-src/test-distrib lib-src/test-distrib.exe lib-src/update-game-score lib-src/update-game-score.exe 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/b-emacs.exe src/emacs src/emacs-* src/prefix-args* src/stamp-oldxmenu src/temacs src/temacs.exe src/deps