Restore daemon watch (#429)

This was accidentally removed in #330 and is the major reason
why window menus aren't appearing.
This commit is contained in:
David Hewitt 2018-12-16 00:36:35 +00:00 committed by Rico Tzschichholz
parent 66a95e05b6
commit 7f1e392e03

View File

@ -98,6 +98,8 @@ namespace Gala
{ {
Util.later_add (LaterType.BEFORE_REDRAW, show_stage); Util.later_add (LaterType.BEFORE_REDRAW, show_stage);
Bus.watch_name (BusType.SESSION, DAEMON_DBUS_NAME, BusNameWatcherFlags.NONE, daemon_appeared, lost_daemon);
#if HAS_MUTTER322 #if HAS_MUTTER322
get_screen ().get_display ().gl_video_memory_purged.connect (() => { get_screen ().get_display ().gl_video_memory_purged.connect (() => {
Meta.Background.refresh_all (); Meta.Background.refresh_all ();