diff options
| author | Jason Rumney | 2002-03-22 22:08:10 +0000 |
|---|---|---|
| committer | Jason Rumney | 2002-03-22 22:08:10 +0000 |
| commit | b8b47c1966c36a9bfa25ccc2c5b9ff5c7dd762d1 (patch) | |
| tree | 499f0b70504d8a11952d67f4e6fba928276d2eb7 /src | |
| parent | 0327b4cc87ada62c2fd72d14b719330cea8eabe9 (diff) | |
| download | emacs-b8b47c1966c36a9bfa25ccc2c5b9ff5c7dd762d1.tar.gz emacs-b8b47c1966c36a9bfa25ccc2c5b9ff5c7dd762d1.zip | |
(zv_bits): Declare as short, for word alignment.
(w32_read_socket) <WM_XBUTTONUP>: Fix last change.
(syms_of_w32term): Define x-use-underline-position-properties.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/w32term.c | 10 |
2 files changed, 13 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c802d34aaae..a09b0b2606e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2002-03-22 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32term.c: (zv_bits): Declare as short, for word alignment. | ||
| 4 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. | ||
| 5 | (syms_of_w32term): Define x-use-underline-position-properties. | ||
| 6 | |||
| 7 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. | ||
| 8 | (clear_image_cache): Block input, fix logic, clear matrices in | ||
| 9 | all frames that share this cache. | ||
| 10 | |||
| 1 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> | 11 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 12 | ||
| 3 | * emacs.c (main): Update the Copyright year in the blurb printed | 13 | * emacs.c (main): Update the Copyright year in the blurb printed |
diff --git a/src/w32term.c b/src/w32term.c index 8a2e40616a3..01e5975c75e 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -86,7 +86,7 @@ enum fringe_bitmap_type | |||
| 86 | #define zv_width 8 | 86 | #define zv_width 8 |
| 87 | #define zv_height 72 | 87 | #define zv_height 72 |
| 88 | #define zv_period 3 | 88 | #define zv_period 3 |
| 89 | static unsigned char zv_bits[] = { | 89 | static unsigned short zv_bits[] = { |
| 90 | 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, | 90 | 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, |
| 91 | 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, | 91 | 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, |
| 92 | 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, | 92 | 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, 0x00, 0x3c, 0x00, |
| @@ -8810,10 +8810,8 @@ w32_read_socket (sd, bufp, numchars, expected) | |||
| 8810 | y = XFASTINT (emacs_event.y); | 8810 | y = XFASTINT (emacs_event.y); |
| 8811 | 8811 | ||
| 8812 | /* Set x and y. */ | 8812 | /* Set x and y. */ |
| 8813 | window = window_from_coordinates (f, | 8813 | window = window_from_coordinates (f, x, y, &p, 1); |
| 8814 | emacs_event.x, | 8814 | |
| 8815 | emacs_event.y, | ||
| 8816 | &p, 1); | ||
| 8817 | if (EQ (window, f->tool_bar_window)) | 8815 | if (EQ (window, f->tool_bar_window)) |
| 8818 | { | 8816 | { |
| 8819 | w32_handle_tool_bar_click (f, &emacs_event); | 8817 | w32_handle_tool_bar_click (f, &emacs_event); |
| @@ -11416,7 +11414,6 @@ For example, if a block cursor is over a tab, it will be drawn as | |||
| 11416 | wide as that tab on the display. */); | 11414 | wide as that tab on the display. */); |
| 11417 | x_stretch_cursor_p = 0; | 11415 | x_stretch_cursor_p = 0; |
| 11418 | 11416 | ||
| 11419 | #if 0 /* TODO: Setting underline position from font properties. */ | ||
| 11420 | DEFVAR_BOOL ("x-use-underline-position-properties", | 11417 | DEFVAR_BOOL ("x-use-underline-position-properties", |
| 11421 | &x_use_underline_position_properties, | 11418 | &x_use_underline_position_properties, |
| 11422 | doc: /* *Non-nil means make use of UNDERLINE_POSITION font properties. | 11419 | doc: /* *Non-nil means make use of UNDERLINE_POSITION font properties. |
| @@ -11424,7 +11421,6 @@ nil means ignore them. If you encounter fonts with bogus | |||
| 11424 | UNDERLINE_POSITION font properties, for example 7x13 on XFree prior | 11421 | UNDERLINE_POSITION font properties, for example 7x13 on XFree prior |
| 11425 | to 4.1, set this to nil. */); | 11422 | to 4.1, set this to nil. */); |
| 11426 | x_use_underline_position_properties = 1; | 11423 | x_use_underline_position_properties = 1; |
| 11427 | #endif | ||
| 11428 | 11424 | ||
| 11429 | DEFVAR_LISP ("x-toolkit-scroll-bars", &Vx_toolkit_scroll_bars, | 11425 | DEFVAR_LISP ("x-toolkit-scroll-bars", &Vx_toolkit_scroll_bars, |
| 11430 | doc: /* If not nil, Emacs uses toolkit scroll bars. */); | 11426 | doc: /* If not nil, Emacs uses toolkit scroll bars. */); |