From bbccf96981fa7db1152d5519c6edd2c5dde81d4f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 23 Mar 2014 21:31:29 -0400 Subject: Fixed the shrinking not working: the Cairo clip rect apparently can fall outside the actual size of the widget. (I did notice this before.) --- sysdata_unix.go | 1 - 1 file changed, 1 deletion(-) (limited to 'sysdata_unix.go') diff --git a/sysdata_unix.go b/sysdata_unix.go index 6100606..be9a827 100644 --- a/sysdata_unix.go +++ b/sysdata_unix.go @@ -357,7 +357,6 @@ func (s *sysData) setAreaSize(width int, height int) { uitask <- func() { c := gtkAreaGetControl(s.widget) gtk_widget_set_size_request(c, width, height) - gtk_widget_queue_draw(c) // force repaint (TODO doesn't have an effect when shrinking?) ret <- struct{}{} } <-ret -- cgit v1.2.3