changeset 96773:8b4d07d37cc5

(change_frame_size): Remove extern declaration. (resize_event, maybe_generate_resize_event): Pass SAFE arg to change_frame_size.
author Jason Rumney <jasonr@gnu.org>
date Thu, 17 Jul 2008 21:51:46 +0000
parents ade33f1b986e
children 3760da9fe15e
files src/ChangeLog src/w32inevt.c
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jul 17 18:33:05 2008 +0000
+++ b/src/ChangeLog	Thu Jul 17 21:51:46 2008 +0000
@@ -1,3 +1,9 @@
+2008-07-17  David Robinow  <drobinow@gmail.com>  (tiny change)
+
+        * w32inevt.c (change_frame_size): Remove extern declaration.
+        (resize_event, maybe_generate_resize_event): Pass SAFE arg to
+        change_frame_size.
+
 2008-07-17  Adrian Robert <Adrian.B.Robert@gmail.com>
 
 	* getloadavg.c: Revert last change (2008-07-15).
--- a/src/w32inevt.c	Thu Jul 17 18:33:05 2008 +0000
+++ b/src/w32inevt.c	Thu Jul 17 21:51:46 2008 +0000
@@ -53,9 +53,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;
 
@@ -621,7 +618,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);
 }
 
@@ -638,7 +635,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