diff options
Diffstat (limited to 'src/w32inevt.c')
-rw-r--r-- | src/w32inevt.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/w32inevt.c b/src/w32inevt.c index 50538c5b4ba..7d10d88155c 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c @@ -411,7 +411,7 @@ w32_console_mouse_position (struct frame **f, *f = get_frame (); *bar_window = Qnil; - *part = 0; + *part = scroll_bar_above_handle; SELECTED_FRAME ()->mouse_moved = 0; XSETINT (*x, movement_pos.X); @@ -587,7 +587,8 @@ resize_event (WINDOW_BUFFER_SIZE_RECORD *event) { struct frame *f = get_frame (); - change_frame_size (f, event->dwSize.X, event->dwSize.Y, 0, 1, 0, 0); + change_frame_size (f, event->dwSize.X, event->dwSize.Y + - FRAME_MENU_BAR_LINES (f), 0, 1, 0, 0); SET_FRAME_GARBAGED (f); } @@ -603,8 +604,8 @@ maybe_generate_resize_event (void) if the size hasn't actually changed. */ change_frame_size (f, 1 + info.srWindow.Right - info.srWindow.Left, - 1 + info.srWindow.Bottom - info.srWindow.Top, - 0, 0, 0, 0); + 1 + info.srWindow.Bottom - info.srWindow.Top + - FRAME_MENU_BAR_LINES (f), 0, 1, 0, 0); } #if HAVE_W32NOTIFY |