Commit 6b5240ed authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist
Browse files

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).
parent 1bfcf9ba
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/*:
......
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/*:
......
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/*:
......
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/*:
......
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/*:
......
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;
......
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