Commit 03f7e26d authored by Matthias Clasen's avatar Matthias Clasen

Don't return PropertyNotify.state as modifier state

It isn't, it really is a GdkPropertyState.

Reported by Tim Janik in bug 633795.
parent 3adb7c7a
......@@ -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:
......
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