wiki: Update the layer-shell components page

This commit is contained in:
Ivan Molodetskikh
2025-01-03 17:02:04 +03:00
parent a5f3b2a949
commit ed9932d70d
+2 -3
View File
@@ -1,5 +1,4 @@
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.
1. 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.
1. Components on the bottom and background layers will receive *on-demand* keyboard focus as expected. However, they will only receive *exclusive* keyboard focus when there are no windows on the workspace.