From 828d0035c30adfda19a45023004a5bf27671198b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Thu, 19 Jul 2018 18:31:07 +0200
Subject: [PATCH] Preface all LayerSurface namespaces with "phosh"

This makes sure our rootston extension can find it. Name the panel
itself "phosh" since this surface's output is being rotated.
---
 src/home.c       | 2 +-
 src/lockscreen.c | 2 +-
 src/lockshield.c | 2 +-
 src/panel.c      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/home.c b/src/home.c
index eea86b2fe..7f0663ec0 100644
--- a/src/home.c
+++ b/src/home.c
@@ -100,6 +100,6 @@ phosh_home_new (struct zwlr_layer_shell_v1 *layer_shell,
                        "layer", ZWLR_LAYER_SHELL_V1_LAYER_TOP,
                        "kbd-interactivity", FALSE,
                        "exclusive-zone", PHOSH_HOME_HEIGHT,
-                       "namespace", "home",
+                       "namespace", "phosh home",
                        NULL);
 }
diff --git a/src/lockscreen.c b/src/lockscreen.c
index 20b1d5b1b..0e01b2c04 100644
--- a/src/lockscreen.c
+++ b/src/lockscreen.c
@@ -357,6 +357,6 @@ phosh_lockscreen_new (gpointer layer_shell,
                        "layer", ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY,
                        "kbd-interactivity", TRUE,
                        "exclusive-zone", -1,
-                       "namespace", "lockscreen",
+                       "namespace", "phosh lockscreen",
                        NULL);
 }
diff --git a/src/lockshield.c b/src/lockshield.c
index 897cbbe36..d11e6f53d 100644
--- a/src/lockshield.c
+++ b/src/lockshield.c
@@ -99,6 +99,6 @@ phosh_lockshield_new (gpointer layer_shell,
                        "layer", ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY,
                        "kbd-interactivity", FALSE,
                        "exclusive-zone", -1,
-                       "namespace", "lockshield",
+                       "namespace", "phosh lockshield",
                        NULL);
 }
diff --git a/src/panel.c b/src/panel.c
index f369388df..857cfe9a1 100644
--- a/src/panel.c
+++ b/src/panel.c
@@ -200,7 +200,7 @@ phosh_panel_new (struct zwlr_layer_shell_v1 *layer_shell,
                        "layer", ZWLR_LAYER_SHELL_V1_LAYER_TOP,
                        "kbd-interactivity", FALSE,
                        "exclusive-zone", PHOSH_PANEL_HEIGHT,
-                       "namespace", "panel",
+                       "namespace", "phosh",
                        NULL);
 }
 
-- 
GitLab