mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 15:15:39 +03:00
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:
parent
66a95e05b6
commit
7f1e392e03
@ -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 ();
|
||||||
|
Loading…
Reference in New Issue
Block a user