From 8d59c5ed4480037bcc953bd28a9165990fdd002e Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 17 Jul 2008 21:51:46 +0000 Subject: [PATCH] (change_frame_size): Remove extern declaration. (resize_event, maybe_generate_resize_event): Pass SAFE arg to change_frame_size. --- src/ChangeLog | 6 ++++++ src/w32inevt.c | 7 ++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index fa6fe1a1cbd..b561ceb73f5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2008-07-17 David Robinow (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 * getloadavg.c: Revert last change (2008-07-15). diff --git a/src/w32inevt.c b/src/w32inevt.c index 54d958f1667..7932990061d 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c @@ -53,9 +53,6 @@ static DWORD movement_time; /* 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 @@ resize_event (WINDOW_BUFFER_SIZE_RECORD *event) { 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 @@ maybe_generate_resize_event () change_frame_size (f, 1 + info.srWindow.Bottom - info.srWindow.Top, 1 + info.srWindow.Right - info.srWindow.Left, - 0, 0); + 0, 0, 0); } int -- 2.39.2