diff options
author | Tor Lillqvist <tml@novell.com> | 2005-10-13 07:21:00 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-10-13 07:21:00 +0000 |
commit | d297ff329f2e0303930ce25e73dd34edde8a9f2c (patch) | |
tree | 1bff93e033158c706b623a8f4e903d80f95033a2 /gdk | |
parent | b25e6c5b05df6b292171f67a1d3315ca579437d8 (diff) | |
download | gtk+-d297ff329f2e0303930ce25e73dd34edde8a9f2c.tar.gz |
Don't treat Alt-Enter specially. It does not have any special meaning and
2005-10-13 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't treat
Alt-Enter specially. It does not have any special meaning and
should be passed on to the application. (#318378, Tim Evans)
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/win32/gdkevents-win32.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 89dc4c8576..58777b7a0f 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -2421,13 +2421,12 @@ gdk_event_translate (MSG *msg, !(HIWORD (msg->lParam) & KF_ALTDOWN)) break; - /* Let the system handle Alt-Tab, Alt-Space, Alt-Enter and - * Alt-F4 unless the keyboard is grabbed. + /* Let the system handle Alt-Tab, Alt-Space and Alt-F4 unless + * the keyboard is grabbed. */ if (k_grab_window == NULL && (msg->wParam == VK_TAB || msg->wParam == VK_SPACE || - msg->wParam == VK_RETURN || msg->wParam == VK_F4)) break; |