Commit e53e9652 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Merge from gtk-2-0:

2002-09-25  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
	WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
	order to be able to handle it normally in the application. Set
	ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
	way we can generate GDK events also for Alt-Fn keys, for instance.
parent beb31ce0
2002-09-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
order to be able to handle it normally in the application. Set
ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
way we can generate GDK events also for Alt-Fn keys, for instance.
2002-09-24 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkx.h: Add a missing ; to make things compile.
......
2002-09-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
order to be able to handle it normally in the application. Set
ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
way we can generate GDK events also for Alt-Fn keys, for instance.
2002-09-24 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkx.h: Add a missing ; to make things compile.
......
2002-09-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
order to be able to handle it normally in the application. Set
ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
way we can generate GDK events also for Alt-Fn keys, for instance.
2002-09-24 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkx.h: Add a missing ; to make things compile.
......
2002-09-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
order to be able to handle it normally in the application. Set
ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
way we can generate GDK events also for Alt-Fn keys, for instance.
2002-09-24 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkx.h: Add a missing ; to make things compile.
......
2002-09-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
order to be able to handle it normally in the application. Set
ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
way we can generate GDK events also for Alt-Fn keys, for instance.
2002-09-24 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkx.h: Add a missing ; to make things compile.
......
2002-09-25 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
order to be able to handle it normally in the application. Set
ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
way we can generate GDK events also for Alt-Fn keys, for instance.
2002-09-24 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkx.h: Add a missing ; to make things compile.
......
......@@ -2178,7 +2178,7 @@ gdk_event_translate (GdkDisplay *display,
decode_key_lparam (msg->lParam)));
/* If posted without us having keyboard focus, ignore */
if (!(msg->lParam & 0x20000000))
if (msg->wParam != VK_F10 && !(HIWORD (msg->lParam) & KF_ALTDOWN))
break;
/* Let the system handle Alt-Tab, Alt-Enter and Alt-F4 */
......@@ -2209,10 +2209,10 @@ gdk_event_translate (GdkDisplay *display,
msg->wParam,
decode_key_lparam (msg->lParam)));
ignore_wm_char = TRUE;
keyup_or_down:
ignore_wm_char = TRUE;
event->key.window = window;
switch (msg->wParam)
......@@ -2458,7 +2458,7 @@ gdk_event_translate (GdkDisplay *display,
if (!propagate (&window, msg,
k_grab_window, k_grab_owner_events, GDK_ALL_EVENTS_MASK,
doesnt_want_key))
break;
break;
ASSIGN_WINDOW (window);
is_altgr_key = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment