summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-07-17 21:51:46 +0000
committerJason Rumney <jasonr@gnu.org>2008-07-17 21:51:46 +0000
commit8d59c5ed4480037bcc953bd28a9165990fdd002e (patch)
treec95c5754287d31553fd60c86298b0efe91a632e7 /src
parentdb94bf9c7c45a1c61123dee3135ec1f3bde9461a (diff)
downloademacs-8d59c5ed4480037bcc953bd28a9165990fdd002e.tar.gz
(change_frame_size): Remove extern declaration.
(resize_event, maybe_generate_resize_event): Pass SAFE arg to change_frame_size.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/w32inevt.c7
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 <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).
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