diff options
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -31,7 +31,13 @@ func (tk *guiWidget) redrawWindow(w int, h int) { tk.DrawAt(w, h) tk.setColor(&colorActiveW) // sets the window to Green BG - tk.placeWidgets(w, h) // compute the sizes & places for each widget + + if tk.window.collapsed { + // don't show anything but the title bar + tk.hideWindow() + return + } + tk.placeWidgets(w, h) // compute the sizes & places for each widget // this is a test. this should not be needed tk.full.w0 = tk.force.w0 |
