Files
gtk/gdk
Alexander Larsson 0d9b189a64 gdkframeclock: Loop the layout phase if needed
In the case where the layout phase queued a layout we don't
want to progress to the paint phase with invalid allocations, so
we loop the layout. This shouldn't normally happen, but it may
happen in some edge cases like if user/wm resizes clash with
natural window size changes from a gtk widget. This should not
generally loop though, so we detect this after 4 cycles and
print a warning.

This was detected because of an issue in GtkWindow where it
seems to incorrectly handle the case of a user interactive resize.
It seems gtk_window_move_resize() believes that configure_request_size_changed
changed due to hitting some corner case so it calls
gtk_widget_queue_resize_no_redraw(), marking the window as need_alloc
after the layout phase. This commit fixes the issue, but we should
also look into if we can fix that.
2013-04-24 22:21:06 +02:00
..
2013-04-17 14:15:51 +02:00
2012-01-09 00:31:20 -05:00
2013-04-17 14:15:51 +02:00
2013-04-17 14:15:51 +02:00
2013-04-17 14:15:51 +02:00
2011-02-10 14:41:02 -05:00
2012-02-27 17:06:11 +00:00
2013-04-01 14:20:47 +02:00
2013-02-25 10:54:32 +01:00
2013-03-23 19:39:58 -04:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2011-12-30 16:21:38 +08:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-03-12 20:03:19 -04:00
2012-02-27 17:06:11 +00:00
2013-02-25 10:57:34 +01:00
2013-02-25 10:57:34 +01:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2013-04-01 14:20:47 +02:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2012-02-27 17:06:11 +00:00
2006-12-21 05:11:00 +00:00
2011-01-02 13:33:04 +01:00