changeset 80615:ed3882ec9644

Backport of long term bug from trunk: 2008-07-18 David Robinow <drobinow@gmail.com> (tiny change) * w32inevt.c: Include dispextern.h. Don't declare change_frame_size here. (maybe_generate_resize_event, resize_event): Call change_frame_size with SAFE arg.
author Jason Rumney <jasonr@gnu.org>
date Fri, 18 Jul 2008 08:59:50 +0000
parents fa8281092b2f
children 3af78d9da472
files src/w32inevt.c
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32inevt.c	Fri Jul 18 08:59:39 2008 +0000
+++ b/src/w32inevt.c	Fri Jul 18 08:59:50 2008 +0000
@@ -39,6 +39,7 @@
 #include "lisp.h"
 #include "keyboard.h"
 #include "frame.h"
+#include "dispextern.h"
 #include "blockinput.h"
 #include "termhooks.h"
 #include "w32heap.h"
@@ -54,9 +55,6 @@
 /* from keyboard.c */
 extern void reinvoke_input_signal (void);
 
-/* from dispnew.c */
-extern int change_frame_size (FRAME_PTR, int, int, int, int);
-
 /* from w32console.c */
 extern int w32_use_full_screen_buffer;
 
@@ -622,7 +620,7 @@
 {
   FRAME_PTR f = get_frame ();
 
-  change_frame_size (f, event->dwSize.Y, event->dwSize.X, 0, 1);
+  change_frame_size (f, event->dwSize.Y, event->dwSize.X, 0, 1, 0);
   SET_FRAME_GARBAGED (f);
 }
 
@@ -639,7 +637,7 @@
   change_frame_size (f,
 		     1 + info.srWindow.Bottom - info.srWindow.Top,
 		     1 + info.srWindow.Right - info.srWindow.Left,
-		     0, 0);
+		     0, 0, 0);
 }
 
 int