GNOME Bugzilla – Bug 686505
xsettings: Optimize xsettings changes
Last modified: 2012-10-21 16:38:48 UTC
I've noticed that we are updating XSettings several times during login, which wakes up all running GTK+ apps, and possibly makes then do a lot of work due to theme or font changes. This patch addresses this in two ways: 1) Assume that gnome-shell will be running, and initialize the appmenu setting accordingly. This avoids a change when the shell comes on the bus later (g-s-d starts before the shell) 2) Batch updates in an idle With these changes, I see XSettings getting set exactly once during login, which is as it should be.
Created attachment 226867 [details] [review] xsettings: Optimize xsettings changes
Review of attachment 226867 [details] [review]: Great stuff.