mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Don't return PropertyNotify.state as modifier state
It isn't, it really is a GdkPropertyState. Reported by Tim Janik in bug 633795.
This commit is contained in:
parent
3adb7c7a49
commit
03f7e26d26
@ -756,8 +756,6 @@ gdk_event_get_state (const GdkEvent *event,
|
||||
*state = event->crossing.state;
|
||||
return TRUE;
|
||||
case GDK_PROPERTY_NOTIFY:
|
||||
*state = event->property.state;
|
||||
return TRUE;
|
||||
case GDK_VISIBILITY_NOTIFY:
|
||||
case GDK_CLIENT_EVENT:
|
||||
case GDK_CONFIGURE:
|
||||
|
Loading…
Reference in New Issue
Block a user