From 7e5a810e51d8d39dc20e8f94d55ca24de79214e8 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 1 Jun 2014 00:22:15 -0400 Subject: [PATCH] Verified the previous commit. --- area_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/area_unix.go b/area_unix.go index 78c10b3..6b60c25 100644 --- a/area_unix.go +++ b/area_unix.go @@ -214,7 +214,7 @@ func our_area_motion_notify_event_callback(widget *C.GtkWidget, event *C.GdkEven var area_motion_notify_event_callback = C.GCallback(C.our_area_motion_notify_event_callback) // we want switching away from the control to reset the double-click counter, like with WM_ACTIVATE on Windows -// according to tristan in irc.gimp.net/#gtk+, doing this on enter-notify-event and leave-notify-event is correct (and this seems to be true; I have issues verifying the double-click behavior [TODO] but the events DO get sent on program changes with alt-tab so) +// according to tristan in irc.gimp.net/#gtk+, doing this on enter-notify-event and leave-notify-event is correct (and it seems to be true in my own tests; plus the events DO get sent when switching programs with the keyboard (just pointing that out)) // differentiating between enter-notify-event and leave-notify-event is unimportant //export our_area_enterleave_notify_event_callback