projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33303f9
)
clutter-stage-x11: Make sure to set geometry x and y
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Wed, 9 Nov 2011 21:37:32 +0000
(16:37 -0500)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Thu, 10 Nov 2011 12:57:34 +0000
(12:57 +0000)
Otherwise, we could be dealing with uninitialized values, causing
havoc all over the place.
https://bugzilla.gnome.org/show_bug.cgi?id=663733
clutter/x11/clutter-stage-x11.c
patch
|
blob
|
history
diff --git
a/clutter/x11/clutter-stage-x11.c
b/clutter/x11/clutter-stage-x11.c
index
f9ae163
..
edf7b9c
100644
(file)
--- a/
clutter/x11/clutter-stage-x11.c
+++ b/
clutter/x11/clutter-stage-x11.c
@@
-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)