From 549da1af84010de75271e30fb8a6529ca5a1e484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> Date: Tue, 24 Apr 2018 07:16:15 +0200 Subject: [PATCH] Disable background display due to layer-shell wlroots bug See https://github.com/swaywm/wlroots/issues/897 for details. --- src/phosh.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/phosh.c b/src/phosh.c index dedcae9..ebc7223 100644 --- a/src/phosh.c +++ b/src/phosh.c @@ -514,6 +514,7 @@ panel_create (PhoshShell *self) } +#if 0 /* https://github.com/swaywm/wlroots/issues/897 */ static void background_create (PhoshShell *self) { @@ -542,7 +543,7 @@ background_create (PhoshShell *self) wl_surface_commit(background->wl_surface); priv->background = background; } - +#endif static void css_setup (PhoshShell *self) @@ -715,7 +716,10 @@ phosh_shell_constructed (GObject *object) css_setup (self); panel_create (self); /* Create background after panel since it needs the panel's size */ +#if 0 + /* https://github.com/swaywm/wlroots/issues/897 */ background_create (self); +#endif lockscreen_prepare (self); } -- GitLab