From 88f33afbb777a3d02631c4eb6a2d6f6dbf7fba3f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Feb 2025 13:47:19 -0600 Subject: window depth order works --- eventMouse.go | 1 + 1 file changed, 1 insertion(+) (limited to 'eventMouse.go') 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 -- cgit v1.2.3