summaryrefslogtreecommitdiff
path: root/sysdata_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'sysdata_unix.go')
-rw-r--r--sysdata_unix.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdata_unix.go b/sysdata_unix.go
index c9be614..23f29b2 100644
--- a/sysdata_unix.go
+++ b/sysdata_unix.go
@@ -264,6 +264,8 @@ func (s *sysData) setWindowSize(width int, height int) error {
ret := make(chan struct{})
defer close(ret)
uitask <- func() {
+ // does not take window geometry into account (and cannot, since the window manager won't give that info away)
+ // thanks to TingPing in irc.gimp.net/#gtk+
gtk_window_resize(s.widget, width, height)
ret <- struct{}{}
}