a9f24351e9
If the stage is unrealized (such as will be the case if the stage was created with clutter_stage_new) then it would set the size of the stage display but it was not setting the fullscreen_on_map flag so it never got the _NET_WM_STATE_FULLSCREEN property. Now it always sets the flag regardless of whether the window is created yet. There was also problems with dual-headed displays because in that case DisplayWidth/Height will return the size of the combined display but Metacity (and presumably other WMs) will sensibly try fit the window to only one of the monitors. However we were setting the size hints so that the minimum size is that of the combined display. Metacity tries to honour this by setting the minimum size but then it no longer positions the window at the top left of the screen. The patch makes it avoid setting the minimum size when the stage is fullscreen by checking the fullscreen_on_map flag. This also means we can remove the static was_resizable flag which would presumably have caused problems for multi-stage. |
||
---|---|---|
.. | ||
clutter-backend-x11-private.h | ||
clutter-backend-x11.c | ||
clutter-backend-x11.h | ||
clutter-event-x11.c | ||
clutter-stage-x11.c | ||
clutter-stage-x11.h | ||
clutter-x11-enum-types.c.in | ||
clutter-x11-enum-types.h.in | ||
clutter-x11-texture-pixmap.c | ||
clutter-x11-texture-pixmap.h | ||
clutter-x11.h | ||
clutter-x11.pc.in | ||
Makefile.am |