diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 03:21:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 03:21:48 -0600 |
| commit | 5bac0308e55d53e5d1bf0177a1b13751c170598d (patch) | |
| tree | de9b66868863fd048ef822788f3cc58f74794034 /window.go | |
| parent | 8d8fc22745e8e5497e3db0a3389c17c3030a230f (diff) | |
window close works
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -246,9 +246,10 @@ func (win *guiWidget) checkWindowClose(w int, h int) bool { s += fmt.Sprintf("offset(%d,%d)", offW, offH) if (offW < 2) && (offH < 2) { log.Info("attempting close on ", s, win.cuiName) + me.myTree.SendWindowCloseEvent(win.node) // store the stdout corner for computing the drag size return true } - log.Info("not attempting close on ", s, win.cuiName) + // log.Info("not attempting close on ", s, win.cuiName) return false } |
