mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
Remove the checks to see if the window is modally blocked. This doesn't
2008-08-21 Cody Russell <bratsche@gnome.org> * gdk/win32/gdkevents-win32.c (doesnt_want_key): Remove the checks to see if the window is modally blocked. This doesn't get us anything, and it confuses the search window in GtkTreeView (and potentially other utility windows in other apps). (#520165) svn path=/trunk/; revision=21180
This commit is contained in:
parent
894828ef8a
commit
96aa256594
@ -1,3 +1,10 @@
|
||||
2008-08-21 Cody Russell <bratsche@gnome.org>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (doesnt_want_key): Remove the checks
|
||||
to see if the window is modally blocked. This doesn't get us anything,
|
||||
and it confuses the search window in GtkTreeView (and potentially other
|
||||
utility windows in other apps). (#520165)
|
||||
|
||||
2008-08-21 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix.
|
||||
|
@ -1773,10 +1773,6 @@ doesnt_want_key (gint mask,
|
||||
{
|
||||
GdkWindow *modal_current = _gdk_modal_current ();
|
||||
GdkWindow *window = (GdkWindow *) gdk_win32_handle_table_lookup ((GdkNativeWindow)msg->hwnd);
|
||||
gboolean modally_blocked = modal_current != NULL ? gdk_window_get_toplevel (window) != modal_current : FALSE;
|
||||
|
||||
if (modally_blocked == TRUE)
|
||||
return TRUE;
|
||||
|
||||
return (((msg->message == WM_KEYUP || msg->message == WM_SYSKEYUP) &&
|
||||
!(mask & GDK_KEY_RELEASE_MASK)) ||
|
||||
|
Loading…
Reference in New Issue
Block a user