summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-07-18 08:59:50 +0000
committerJason Rumney <jasonr@gnu.org>2008-07-18 08:59:50 +0000
commit4f34a4a6036a2288a268f9d42fe6a8532b910e93 (patch)
tree6471385168b3c4408984b4baf339032af3ff5a1b /src
parent13d48ff3a5aa3067a05178987b73c0e417b4da68 (diff)
downloademacs-4f34a4a6036a2288a268f9d42fe6a8532b910e93.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/w32inevt.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/w32inevt.c b/src/w32inevt.c
index 0eb73964aae..6f0401c9561 100644
--- a/src/w32inevt.c
+++ b/src/w32inevt.c
@@ -39,6 +39,7 @@ Boston, MA 02110-1301, USA.
#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 @@ 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;
@@ -622,7 +620,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);
}
@@ -639,7 +637,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