X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/a67c4ae05909874c97f86b11dcb8ddc88b3e960c..026b174672c427b035009911de305992a94098d6:/src/w32inevt.c diff --git a/src/w32inevt.c b/src/w32inevt.c index dc587de118..50538c5b4b 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c @@ -1,5 +1,5 @@ /* Input event support for Emacs on the Microsoft Windows API. - Copyright (C) 1992-1993, 1995, 2001-2013 Free Software Foundation, + Copyright (C) 1992-1993, 1995, 2001-2014 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -587,7 +587,7 @@ resize_event (WINDOW_BUFFER_SIZE_RECORD *event) { struct frame *f = get_frame (); - change_frame_size (f, event->dwSize.Y, event->dwSize.X, 0, 1, 0); + change_frame_size (f, event->dwSize.X, event->dwSize.Y, 0, 1, 0, 0); SET_FRAME_GARBAGED (f); } @@ -602,13 +602,13 @@ maybe_generate_resize_event (void) /* It is okay to call this unconditionally, since it will do nothing if the size hasn't actually changed. */ change_frame_size (f, - 1 + info.srWindow.Bottom - info.srWindow.Top, 1 + info.srWindow.Right - info.srWindow.Left, - 0, 0, 0); + 1 + info.srWindow.Bottom - info.srWindow.Top, + 0, 0, 0, 0); } #if HAVE_W32NOTIFY -static int +int handle_file_notifications (struct input_event *hold_quit) { BYTE *p = file_notifications; @@ -676,7 +676,7 @@ handle_file_notifications (struct input_event *hold_quit) return nevents; } #else /* !HAVE_W32NOTIFY */ -static int +int handle_file_notifications (struct input_event *hold_quit) { return 0;