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:
Matthias Clasen 2010-12-22 14:33:09 -05:00
parent 3adb7c7a49
commit 03f7e26d26

View File

@ -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: