mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
clutter-stage-x11: Make sure to set geometry x and y
Otherwise, we could be dealing with uninitialized values, causing havoc all over the place. https://bugzilla.gnome.org/show_bug.cgi?id=663733
This commit is contained in:
parent
33303f92f3
commit
b96773f9c9
@ -204,6 +204,8 @@ clutter_stage_x11_get_geometry (ClutterStageWindow *stage_window,
|
||||
ClutterStageCogl *stage_cogl = CLUTTER_STAGE_COGL (stage_x11);
|
||||
ClutterBackendX11 *backend_x11 = CLUTTER_BACKEND_X11 (stage_cogl->backend);
|
||||
|
||||
geometry->x = geometry->y = 0;
|
||||
|
||||
/* If we're fullscreen, return the size of the display. */
|
||||
if ((stage_x11->state & CLUTTER_STAGE_STATE_FULLSCREEN) &&
|
||||
stage_x11->fullscreening)
|
||||
|
Loading…
Reference in New Issue
Block a user