diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 13:47:19 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 13:47:19 -0600 |
| commit | 88f33afbb777a3d02631c4eb6a2d6f6dbf7fba3f (patch) | |
| tree | 818bf2c9af7253be3200eb69ba6a0aa2e94f7ba1 /eventMouse.go | |
| parent | 9fa974f6c4071d0ae93109c6683338be426306e3 (diff) | |
window depth order works
Diffstat (limited to 'eventMouse.go')
| -rw-r--r-- | eventMouse.go | 1 |
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 |
