gdk/win32/gdkevents-win32.c gdk/win32/gdkkeys-win32.c Check the

2005-05-18  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c
	* gdk/win32/gdkkeys-win32.c
	* gdk/win32/gdkprivate-win32.h: Check the KF_EXTENDED bit in
	lParam of WM_KEY* messages to distinguish between left and right
	Control and Alt keys. Unfortunately, the right Shift key doesnt
	set KF_EXTENDED, so to distinguish between left and right Shift
	keys, check the scan code. (#304584)
This commit is contained in:
Tor Lillqvist
2005-05-18 14:53:00 +00:00
committed by Tor Lillqvist
parent f6906b8272
commit ba7ee2270a
6 changed files with 56 additions and 0 deletions

View File

@ -465,6 +465,7 @@ extern UINT _gdk_input_codepage;
extern guint _gdk_keymap_serial;
extern gboolean _gdk_keyboard_has_altgr;
extern guint _scancode_rshift;
/* Registered clipboard formats */
extern WORD _cf_rtf;