forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
beb31ce0f0
commit
e53e9652a5
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -1,3 +1,11 @@
|
||||
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.
|
||||
|
@ -1,3 +1,11 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user