mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 17:20:07 +00:00
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)
|
||||
|
Loading…
Reference in New Issue
Block a user