summaryrefslogtreecommitdiff
path: root/eventMouse.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventMouse.go')
-rw-r--r--eventMouse.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eventMouse.go b/eventMouse.go
index c8d3fca..37698dc 100644
--- a/eventMouse.go
+++ b/eventMouse.go
@@ -62,6 +62,7 @@ func mouseDown(g *gocui.Gui, v *gocui.View) error {
log.Info("mouseDown() nothing to click on at", w, h)
return nil
}
+ tk.makeWindowActive()
log.Info("SENDING mouseDown() to findWindowUnderMouse()")
if tk.node.WidgetType == widget.Window {
// check to see if this is a direct click on a widget