summaryrefslogtreecommitdiff
path: root/redo/area.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-13 14:09:53 -0400
committerPietro Gagliardi <[email protected]>2014-08-13 14:09:53 -0400
commit2a2d730d12086097a977370e9f3a87c3053ac7ae (patch)
tree26180c7a0be2df94435c76fc9e42e2079e56c49b /redo/area.go
parent35228385c11ec939ebc29dbaa3d653bcad6cd3b4 (diff)
Decided to remove AreaHandler.Defocuses() as that mucks up with the Mac OS X keyboard trap.
Diffstat (limited to 'redo/area.go')
-rw-r--r--redo/area.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/redo/area.go b/redo/area.go
index 190fa10..2ce7d5c 100644
--- a/redo/area.go
+++ b/redo/area.go
@@ -76,10 +76,6 @@ type AreaHandler interface {
// See KeyEvent for details.
// After handling the key event, package ui will decide whether to perform platform-dependent event chain continuation based on that platform's designated action (so it is not possible to override global key events, such as Alt-Tab, this way).
Key(e KeyEvent)
-
- // Defocuses is called when package ui needs to tell the OS if the Area should stop accepting focus.
- // When and how often Defocuses is called is implementation-defined.
- Defocuses() bool
}
// MouseEvent contains all the information for a mous event sent by Area.Mouse.