commit | e22952bb13cf7e7d16b9d8a36c6e9c82307436eb | [log] [tgz] |
---|---|---|
author | Jasper St. Pierre <jstpierre@mecheye.net> | Mon Nov 11 20:07:33 2013 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Sat Feb 01 01:42:31 2014 -0800 |
tree | 3a45ba4dd76b7db22430c6c0042165d8c015f376 | |
parent | b0d604ff5b079b2d182af539c12a7991ccf19e18 [diff] [blame] |
westoy: Schedule a full resize when we add a subsurface If a client adds a subsurface, we need to make sure it's allocated properly, so queue a resize and redraw on the parent window.
diff --git a/clients/window.c b/clients/window.c index 75e6418..a75a7f8 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -4671,6 +4671,9 @@ assert(!"bad enum subsurface_mode"); } + window->resize_needed = 1; + window_schedule_redraw(window); + return widget; }