After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663733 - clutter-stage-x11: Make sure to set geometry x and y
clutter-stage-x11: Make sure to set geometry x and y
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2011-11-09 21:42 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2011-11-10 12:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
clutter-stage-x11: Make sure to set geometry x and y (1.07 KB, patch)
2011-11-09 21:42 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2011-11-09 21:42:40 UTC
meta_window_group_paint uses the stage geometry to construct a cairo region,
which it subtracts windows from. At some times, the uninitialized values in
this record would be greater than zero, meaning we would unintentionally do
a clipped paint.
Comment 1 Jasper St. Pierre (not reading bugmail) 2011-11-09 21:42:41 UTC
Created attachment 201100 [details] [review]
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.
Comment 2 Emmanuele Bassi (:ebassi) 2011-11-10 10:00:39 UTC
Review of attachment 201100 [details] [review]:

looks good to me.
Comment 3 Emmanuele Bassi (:ebassi) 2011-11-10 12:58:26 UTC
Attachment 201100 [details] pushed as b96773f - clutter-stage-x11: Make sure to set geometry x and y