GNOME Bugzilla – Bug 736279
Fix size of mutter in nested mode.
Last modified: 2014-09-08 18:43:48 UTC
Here's a couple of patches that should make mutter reliably come up at the right window size in nested mode - this was previously not working, especially on hi-dpi systems.
Created attachment 285669 [details] [review] MetaBackendX11: Don't XResizeWindow behind clutter's back In the case of a nested Wayland compositor inside an X session, Clutter is managing the toplevel window size, so don't call XResizeWindow on it - this will confuse Clutter and get the size and the hints out of sync on the toplevel window.
Created attachment 285670 [details] [review] Moving setting of window-scaling-factor to meta_clutter_init() Setting the scaling factor immediately after calling clutter_init() avoids creating the stage at one size, then later resizing it to a different size.
Review of attachment 285669 [details] [review]: I'm unhappy with this, but sure.
Review of attachment 285670 [details] [review]: Yes.
Attachment 285669 [details] pushed as 602dd7f - MetaBackendX11: Don't XResizeWindow behind clutter's back Attachment 285670 [details] pushed as 33689ec - Moving setting of window-scaling-factor to meta_clutter_init()