From 2a2d730d12086097a977370e9f3a87c3053ac7ae Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 13 Aug 2014 14:09:53 -0400 Subject: Decided to remove AreaHandler.Defocuses() as that mucks up with the Mac OS X keyboard trap. --- redo/area_unix.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'redo/area_unix.go') diff --git a/redo/area_unix.go b/redo/area_unix.go index e664724..3c2a62e 100644 --- a/redo/area_unix.go +++ b/redo/area_unix.go @@ -388,10 +388,6 @@ func our_area_focus_callback(widget *C.GtkWidget, direction C.GtkDirectionType, // this event indicates entering focus; always allow it return continueEventChain } - a := (*area)(unsafe.Pointer(data)) - if a.handler.Defocuses() { - return continueEventChain - } return stopEventChain } -- cgit v1.2.3