summaryrefslogtreecommitdiff
path: root/sysdata_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-01 00:16:57 -0400
committerPietro Gagliardi <[email protected]>2014-06-01 00:16:57 -0400
commite1f322dce0d8f0f36d3ad58ed94d2a6bc51029ce (patch)
treeab041a2cac7a7f8c3d441aee3e6f37d3b89e9e30 /sysdata_unix.go
parentcb3a421a257293cb1fba06c8624ce8a82e06f9dd (diff)
Changed Unix Area WM_ACTIVATE equivalent handling to use enter-notify-event and leave-notify-event instead of focus-in-event and focus-out-event as suggested by tristan in irc.gimp.net/#gtk+.
Diffstat (limited to 'sysdata_unix.go')
-rw-r--r--sysdata_unix.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdata_unix.go b/sysdata_unix.go
index 77e334e..654b326 100644
--- a/sysdata_unix.go
+++ b/sysdata_unix.go
@@ -104,8 +104,8 @@ var classTypes = [nctypes]*classData{
"button-press-event": area_button_press_event_callback,
"button-release-event": area_button_release_event_callback,
"motion-notify-event": area_motion_notify_event_callback,
- "focus-in-event": area_focus_event_callback,
- "focus-out-event": area_focus_event_callback,
+ "enter-notify-event": area_enterleave_notify_event_callback,
+ "leave-notify-event": area_enterleave_notify_event_callback,
"key-press-event": area_key_press_event_callback,
"key-release-event": area_key_release_event_callback,
},