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 786469 - gdkwindow: Avoid re-setting the opaque region if it doesn't change
gdkwindow: Avoid re-setting the opaque region if it doesn't change
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-08-18 15:25 UTC by Rui Matos
Modified: 2017-08-18 17:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdkwindow: Avoid re-setting the opaque region if it doesn't change (1.74 KB, patch)
2017-08-18 15:25 UTC, Rui Matos
committed Details | Review

Description Rui Matos 2017-08-18 15:25:31 UTC
Noticed while running xprop -spy on the same gnome-terminal window
where xprop is ran from -> infinite stream of events.
Comment 1 Rui Matos 2017-08-18 15:25:36 UTC
Created attachment 357907 [details] [review]
gdkwindow: Avoid re-setting the opaque region if it doesn't change

This avoids, at least, needless chatter with the compositor and the X
server in X11's case.
Comment 2 Matthias Clasen 2017-08-18 16:03:38 UTC
Review of attachment 357907 [details] [review]:

sure
Comment 3 Rui Matos 2017-08-18 17:29:29 UTC
Attachment 357907 [details] pushed as e702ee8 - gdkwindow: Avoid re-setting the opaque region if it doesn't change