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 768485 - Change the priority of the window-close idle to G_PRIORITY_DEFAULT
Change the priority of the window-close idle to G_PRIORITY_DEFAULT
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-07-06 13:50 UTC by Owen Taylor
Modified: 2016-07-08 01:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Change the priority of the window-close idle to G_PRIORITY_DEFAULT (1.23 KB, patch)
2016-07-06 13:50 UTC, Owen Taylor
accepted-commit_now Details | Review

Description Owen Taylor 2016-07-06 13:50:19 UTC
If we have an application that never goes idle (or takes a long time to
go idle), the close buttons in CSD decoration don't work properly.
While it's not clear why the usage of an idle was added in the first
place, keep on using it to avoid unexpected reentrancy problems, but
change the priority to G_PRIORITY_DEFAULT.
Comment 1 Owen Taylor 2016-07-06 13:50:22 UTC
Created attachment 330948 [details] [review]
Change the priority of the window-close idle to G_PRIORITY_DEFAULT
Comment 2 Matthias Clasen 2016-07-06 13:51:58 UTC
Review of attachment 330948 [details] [review]:

Looks good to me.