summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
Diffstat (limited to 'window.go')
-rw-r--r--window.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/window.go b/window.go
index c5be97f..9ef7d90 100644
--- a/window.go
+++ b/window.go
@@ -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
}