Mercurial > emacs
annotate info/.arch-inventory @ 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 | a33e80b6ae49 |
children |
rev | line source |
---|---|
60841
a33e80b6ae49
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
60357
diff
changeset
|
1 # There are only three real source files in this directory: |
a33e80b6ae49
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
60357
diff
changeset
|
2 # |
a33e80b6ae49
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
60357
diff
changeset
|
3 # "dir", ".cvsignore", and this file, ".arch-inventory" |
60357
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
4 |
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
5 # Everything else is generated at compile time. Unfortunately, the "backup" |
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
6 # category overrides the "source" category, so we have to have horrible |
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
7 # regexp that matches everything _except_ "dir"... |
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
8 |
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
9 # 1 or 2 characters long |
60841
a33e80b6ae49
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
60357
diff
changeset
|
10 backup ^[a-zA-Z0-9][-_.a-zA-Z0-9]?$ |
60357
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
11 # 4 or more characters long |
60841
a33e80b6ae49
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
60357
diff
changeset
|
12 backup ^[a-zA-Z0-9][-_.a-zA-Z0-9][-_.a-zA-Z0-9][-_.a-zA-Z0-9]+$ |
60357
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
13 # 3 chars long, but 1st char not "d" |
60841
a33e80b6ae49
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
60357
diff
changeset
|
14 backup ^[abce-zA-Z0-9][-_.a-zA-Z0-9][-_.a-zA-Z0-9]$ |
60357
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
15 # 3 chars long, but 2nd char not "i" |
60841
a33e80b6ae49
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
60357
diff
changeset
|
16 backup ^[a-zA-Z0-9][-_.a-hj-zA-Z0-9][-_.a-zA-Z0-9]$ |
60357
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
17 # 3 chars long, but 3rd char not "r" |
60841
a33e80b6ae49
Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents:
60357
diff
changeset
|
18 backup ^[a-zA-Z0-9][-_.a-zA-Z0-9][-_.a-qs-zA-Z0-9]$ |
60357
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
19 |
7cb1d5f71446
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Miles Bader <miles@gnu.org>
parents:
diff
changeset
|
20 # arch-tag: 60144ab9-cdc1-45b6-8193-b9683c80ec86 |