aboutsummaryrefslogtreecommitdiff
path: root/wiki/Layer‐Shell-Components.md
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-03-25 21:13:36 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-03-25 21:16:03 +0400
commitcf54f75113c69a21cca5ec7e346a12e46298b8c0 (patch)
tree17c1bfe47876fe18d9ead183eec5c0535e9e3bf8 /wiki/Layer‐Shell-Components.md
parent0d90876ad8510fccf7994b7a113778330644b64d (diff)
downloadniri-cf54f75113c69a21cca5ec7e346a12e46298b8c0.tar.gz
niri-cf54f75113c69a21cca5ec7e346a12e46298b8c0.tar.bz2
niri-cf54f75113c69a21cca5ec7e346a12e46298b8c0.zip
Move wiki into the main repository
Diffstat (limited to 'wiki/Layer‐Shell-Components.md')
-rw-r--r--wiki/Layer‐Shell-Components.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/wiki/Layer‐Shell-Components.md b/wiki/Layer‐Shell-Components.md
new file mode 100644
index 00000000..d1166966
--- /dev/null
+++ b/wiki/Layer‐Shell-Components.md
@@ -0,0 +1,5 @@
+Things to keep in mind with layer-shell components (bars, launchers, etc.):
+
+1. Popups (tooltips, popup menus) render on the same layer as the component itself. Put your bar at the top layer, or menus will render below windows.
+2. Components on the bottom and background layers will never receive keyboard focus, including for popups. They will however receive pointer focus as expected.
+3. When a full-screen window is active and covers the entire screen, it will render above the top layer, and it will be prioritized for keyboard focus. If your launcher uses the top layer, and you try to run it while looking at a full-screen window, it won't show up. Only the overlay layer will show up on top of full-screen windows. \ No newline at end of file