[gtk+] Don't return PropertyNotify.state as modifier state
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't return PropertyNotify.state as modifier state
- Date: Wed, 22 Dec 2010 19:35:15 +0000 (UTC)
commit 03f7e26d2649d5dabdbe0bf6c977462e8f3f5860
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Dec 22 14:33:09 2010 -0500
Don't return PropertyNotify.state as modifier state
It isn't, it really is a GdkPropertyState.
Reported by Tim Janik in bug 633795.
gdk/gdkevents.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index e9995e9..1878799 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]