diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-15 12:58:17 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-15 12:58:17 -0400 |
| commit | 6c3058a32d57f8de5b303acd8ed07e8879ac50cd (patch) | |
| tree | bdac9f25c4fb3564bed22420ba5957b061cd0e32 /sysdata_unix.go | |
| parent | da2d4da15a19887c1dd031314d61b1dc2b04ea6d (diff) | |
Settled window sizing for GTK+; moved the respective TODO to future plans.
Diffstat (limited to 'sysdata_unix.go')
| -rw-r--r-- | sysdata_unix.go | 2 |
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{}{} } |
