forked from AuroraMiddleware/gtk
Let the system handle Alt-Space, too. Thanks to Tim Evans (#91477).
2002-08-24 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (gdk_event_translate): Let the system handle Alt-Space, too. Thanks to Tim Evans (#91477).
This commit is contained in:
parent
1bfcf9ba16
commit
6b5240ed0f
@ -1,3 +1,8 @@
|
||||
2002-08-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Let the
|
||||
system handle Alt-Space, too. Thanks to Tim Evans (#91477).
|
||||
|
||||
Sat Aug 24 12:46:37 BST 2002 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, examples/*:
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-08-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Let the
|
||||
system handle Alt-Space, too. Thanks to Tim Evans (#91477).
|
||||
|
||||
Sat Aug 24 12:46:37 BST 2002 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, examples/*:
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-08-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Let the
|
||||
system handle Alt-Space, too. Thanks to Tim Evans (#91477).
|
||||
|
||||
Sat Aug 24 12:46:37 BST 2002 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, examples/*:
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-08-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Let the
|
||||
system handle Alt-Space, too. Thanks to Tim Evans (#91477).
|
||||
|
||||
Sat Aug 24 12:46:37 BST 2002 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, examples/*:
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-08-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Let the
|
||||
system handle Alt-Space, too. Thanks to Tim Evans (#91477).
|
||||
|
||||
Sat Aug 24 12:46:37 BST 2002 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, examples/*:
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-08-24 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Let the
|
||||
system handle Alt-Space, too. Thanks to Tim Evans (#91477).
|
||||
|
||||
Sat Aug 24 12:46:37 BST 2002 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/tutorial/gtk-tut.sgml, examples/*:
|
||||
|
@ -2085,12 +2085,20 @@ gdk_event_translate (GdkDisplay *display,
|
||||
/* If posted without us having keyboard focus, ignore */
|
||||
if (!(msg->lParam & 0x20000000))
|
||||
break;
|
||||
|
||||
/* Let the system handle Alt-Tab, Alt-Enter and Alt-F4 */
|
||||
if (msg->wParam == VK_TAB
|
||||
|| msg->wParam == VK_RETURN
|
||||
|| msg->wParam == VK_F4)
|
||||
break;
|
||||
|
||||
/* Let the system handle Alt-Space, and ignore the WM_SYSCHAR too */
|
||||
if (msg->wParam == VK_SPACE)
|
||||
{
|
||||
ignore_wm_char = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
/* Jump to code in common with WM_KEYUP and WM_KEYDOWN */
|
||||
goto keyup_or_down;
|
||||
|
||||
@ -2931,9 +2939,9 @@ gdk_event_translate (GdkDisplay *display,
|
||||
expose_rect.width = paintstruct.rcPaint.right - paintstruct.rcPaint.left;
|
||||
expose_rect.height = paintstruct.rcPaint.bottom - paintstruct.rcPaint.top;
|
||||
|
||||
_gdk_window_process_expose (window, msg->time, &expose_rect);
|
||||
_gdk_window_process_expose (window, msg->time, &expose_rect);
|
||||
|
||||
return_val = FALSE;
|
||||
return_val = FALSE;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user