diff options
| author | Miles Bader | 2005-06-15 23:32:15 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-06-15 23:32:15 +0000 |
| commit | 2092fd2b3339ac097e1b27643b70211dcb0b4e95 (patch) | |
| tree | 7f2307bbb82c7f111678885f871d88d44c870d4e /src/w32term.c | |
| parent | 8786f9fffda045f818e622bddd9c85249dfb9ff7 (diff) | |
| parent | a4bf534f1eb1dcb2048f5deeff783c23059e3924 (diff) | |
| download | emacs-2092fd2b3339ac097e1b27643b70211dcb0b4e95.tar.gz emacs-2092fd2b3339ac097e1b27643b70211dcb0b4e95.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-63
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 358-423)
- Update from CVS
- Remove "-face" suffix from widget faces
- Remove "-face" suffix from custom faces
- Remove "-face" suffix from change-log faces
- Remove "-face" suffix from compilation faces
- Remove "-face" suffix from diff-mode faces
- lisp/longlines.el (longlines-visible-face): Face removed
- Remove "-face" suffix from woman faces
- Remove "-face" suffix from whitespace-highlight face
- Remove "-face" suffix from ruler-mode faces
- Remove "-face" suffix from show-paren faces
- Remove "-face" suffix from log-view faces
- Remove "-face" suffix from smerge faces
- Remove "-face" suffix from show-tabs faces
- Remove "-face" suffix from highlight-changes faces
- Remove "-face" suffix from and downcase info faces
- Remove "-face" suffix from pcvs faces
- Update uses of renamed pcvs faces
- Tweak ChangeLog
- Remove "-face" suffix from strokes-char face
- Remove "-face" suffix from compare-windows face
- Remove "-face" suffix from calendar faces
- Remove "-face" suffix from diary-button face
- Remove "-face" suffix from testcover faces
- Remove "-face" suffix from viper faces
- Remove "-face" suffix from org faces
- Remove "-face" suffix from sgml-namespace face
- Remove "-face" suffix from table-cell face
- Remove "-face" suffix from tex-mode faces
- Remove "-face" suffix from texinfo-heading face
- Remove "-face" suffix from flyspell faces
- Remove "-face" suffix from gomoku faces
- Remove "-face" suffix from mpuz faces
- Merge from gnus--rel--5.10
- Remove "-face" suffix from Buffer-menu-buffer face
- Remove "-face" suffix from antlr-mode faces
- Remove "-face" suffix from ebrowse faces
- Remove "-face" suffix from flymake faces
- Remove "-face" suffix from idlwave faces
- Remove "-face" suffix from sh-script faces
- Remove "-face" suffix from vhdl-mode faces
- Remove "-face" suffix from which-func face
- Remove "-face" suffix from cperl-mode faces
- Remove "-face" suffix from ld-script faces
- Fix cperl-mode font-lock problem
- Tweak which-func face
* gnus--rel--5.10 (patch 80-82)
- Merge from emacs--cvs-trunk--0
- Update from CVS
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c index 51f001bfd45..0bb5607512c 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -89,6 +89,10 @@ static int any_help_event_p; | |||
| 89 | /* Last window where we saw the mouse. Used by mouse-autoselect-window. */ | 89 | /* Last window where we saw the mouse. Used by mouse-autoselect-window. */ |
| 90 | static Lisp_Object last_window; | 90 | static Lisp_Object last_window; |
| 91 | 91 | ||
| 92 | /* Non-zero means make use of UNDERLINE_POSITION font properties. | ||
| 93 | (Not yet supported, see TODO in x_draw_glyph_string.) */ | ||
| 94 | int x_use_underline_position_properties; | ||
| 95 | |||
| 92 | extern unsigned int msh_mousewheel; | 96 | extern unsigned int msh_mousewheel; |
| 93 | 97 | ||
| 94 | extern void free_frame_menubar (); | 98 | extern void free_frame_menubar (); |
| @@ -2639,7 +2643,9 @@ x_draw_glyph_string (s) | |||
| 2639 | unsigned long dy = s->height - h; | 2643 | unsigned long dy = s->height - h; |
| 2640 | 2644 | ||
| 2641 | /* TODO: Use font information for positioning and thickness | 2645 | /* TODO: Use font information for positioning and thickness |
| 2642 | of underline. See OUTLINETEXTMETRIC, and xterm.c. */ | 2646 | of underline. See OUTLINETEXTMETRIC, and xterm.c. |
| 2647 | Note: If you make this work, don't forget to change the | ||
| 2648 | doc string of x-use-underline-position-properties below. */ | ||
| 2643 | if (s->face->underline_defaulted_p) | 2649 | if (s->face->underline_defaulted_p) |
| 2644 | { | 2650 | { |
| 2645 | w32_fill_area (s->f, s->hdc, s->gc->foreground, s->x, | 2651 | w32_fill_area (s->f, s->hdc, s->gc->foreground, s->x, |
| @@ -6707,6 +6713,18 @@ the cursor have no effect. */); | |||
| 6707 | &w32_use_visible_system_caret, 0)) | 6713 | &w32_use_visible_system_caret, 0)) |
| 6708 | w32_use_visible_system_caret = 0; | 6714 | w32_use_visible_system_caret = 0; |
| 6709 | 6715 | ||
| 6716 | /* We don't yet support this, but defining this here avoids whining | ||
| 6717 | from cus-start.el and other places, like "M-x set-variable". */ | ||
| 6718 | DEFVAR_BOOL ("x-use-underline-position-properties", | ||
| 6719 | &x_use_underline_position_properties, | ||
| 6720 | doc: /* *Non-nil means make use of UNDERLINE_POSITION font properties. | ||
| 6721 | nil means ignore them. If you encounter fonts with bogus | ||
| 6722 | UNDERLINE_POSITION font properties, for example 7x13 on XFree prior | ||
| 6723 | to 4.1, set this to nil. | ||
| 6724 | |||
| 6725 | NOTE: Not supported on MS-Windows yet. */); | ||
| 6726 | x_use_underline_position_properties = 0; | ||
| 6727 | |||
| 6710 | DEFVAR_LISP ("x-toolkit-scroll-bars", &Vx_toolkit_scroll_bars, | 6728 | DEFVAR_LISP ("x-toolkit-scroll-bars", &Vx_toolkit_scroll_bars, |
| 6711 | doc: /* If not nil, Emacs uses toolkit scroll bars. */); | 6729 | doc: /* If not nil, Emacs uses toolkit scroll bars. */); |
| 6712 | Vx_toolkit_scroll_bars = Qt; | 6730 | Vx_toolkit_scroll_bars = Qt; |