forge
Explore
Log in

Don't you dare go Hollow

wiki: Update the layer-shell components page

Browse files at this commit

ed9932d70dae30885fa2115520d13d439f9a0273Ivan MolodetskikhParent: a5f3b2a
wiki/Layer‐Shell-Components.mdmodified+2 -3
@@ -1,5 +1,4 @@
1 Things to keep in mind with layer-shell components (bars, launchers, etc.):1 Things to keep in mind with layer-shell components (bars, launchers, etc.):
2 2
3-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.
4-2. Components on the bottom and background layers will never receive keyboard focus, including for popups. They will however receive pointer focus as expected.
5-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\ No newline at end of file
3+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.
4+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.