/* Input event support for Emacs on the Microsoft W32 API.
Copyright (C) 1992, 1993, 1995, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008 Free Software Foundation, Inc.
+ 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of GNU Emacs.
#include "lisp.h"
#include "keyboard.h"
#include "frame.h"
+#include "dispextern.h"
#include "blockinput.h"
#include "termhooks.h"
#include "w32heap.h"
/* 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;
if (mods & SCROLLLOCK_ON)
retval |= w32_key_to_modifier (VK_SCROLL);
- /* Just in case someone wanted the original behaviour, make it
+ /* Just in case someone wanted the original behavior, make it
optional by setting w32-capslock-is-shiftlock to t. */
if (NILP (Vw32_capslock_is_shiftlock)
/* Keys that should _not_ be affected by CapsLock. */
{
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);
}
change_frame_size (f,
1 + info.srWindow.Bottom - info.srWindow.Top,
1 + info.srWindow.Right - info.srWindow.Left,
- 0, 0);
+ 0, 0, 0);
}
int