[gnome-settings-daemon] wacom: fix misleading comment



commit 8bad9f8288bcca58b956f002d1de31a9c4e98ae7
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Wed Jan 9 11:10:24 2013 +0100

    wacom: fix misleading comment
    
    Mode switch occurs on key press, not on release as stated
    in the comment.

 plugins/wacom/gsd-wacom-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index de04130..b26bd41 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -1263,7 +1263,7 @@ filter_button_events (XEvent          *xevent,
 	if (wbutton->type == WACOM_TABLET_BUTTON_TYPE_HARDCODED) {
 		int new_mode;
 
-		/* We switch modes on key release */
+		/* We switch modes on key press */
 		if (xiev->evtype == XI_ButtonRelease) {
 			osd_window_update_viewable (manager, wbutton, dir, xiev);
 			return GDK_FILTER_REMOVE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]