GNOME Bugzilla – Bug 559166
[clipboard,mouse,fontconfig] Start manager in idle callback
Last modified: 2008-11-06 03:40:02 UTC
These do not need to run before any windows are mapped on the screen, so we can delay starting them, to do them in parallel with other services. However, make sure fontconfig caches are up to date during initialization.
Created attachment 121899 [details] [review] the patch
enum { GSD_CLIPBOARD_ERROR_RUNNING, GSD_CLIPBOARD_ERROR_FAILED ... The enum should be unused now. Remove it as well. Plus the usual identation issues.
Committed after fixing both issues. 2008-11-03 Behdad Esfahbod <behdad@gnome.org> * plugins/clipboard/gsd-clipboard-manager.c (start_clipboard_idle_cb), (gsd_clipboard_manager_start): Start manager in idle callback (bug #559166) * plugins/mouse/gsd-mouse-manager.c (gsd_mouse_manager_idle_cb), (gsd_mouse_manager_start): Start manager in idle callback (bug #559166) * plugins/xsettings/fontconfig-monitor.c (fontconfig_cache_update), (update): * plugins/xsettings/fontconfig-monitor.h: * plugins/xsettings/gsd-xsettings-manager.c (start_fontconfig_monitor_idle_cb), (start_fontconfig_monitor), (stop_fontconfig_monitor): Start fontconfig monitors in idle callback. However, make sure fontconfig caches are up to date during initialization (bug #559166)
Note that the fontconfig fix here is not optimal. Filed bug 559550 to follow up.