[gnome-settings-daemon] wacom: Do something on button press and release
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Do something on button press and release
- Date: Tue, 14 Feb 2012 20:13:49 +0000 (UTC)
commit 8c41b6a1e80c518af569bd6bc7a01a643c81804b
Author: Bastien Nocera <hadess hadess net>
Date: Tue Feb 14 20:10:11 2012 +0000
wacom: Do something on button press and release
plugins/wacom/gsd-wacom-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index e02a2e0..203dfb9 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -666,7 +666,8 @@ filter_button_events (XEvent *xevent,
xiev = (XIEvent *) xevent->xcookie.data;
- if (xiev->evtype != XI_ButtonRelease)
+ if (xiev->evtype != XI_ButtonRelease &&
+ xiev->evtype != XI_ButtonPress)
return GDK_FILTER_CONTINUE;
xev = (XIDeviceEvent *) xiev;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]