diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-03 17:02:04 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-03 17:02:18 +0300 |
| commit | ed9932d70dae30885fa2115520d13d439f9a0273 (patch) | |
| tree | c1dcc9bc84412a7615e633a991d6e9165c7493a5 /wiki/Layer‐Shell-Components.md | |
| parent | a5f3b2a94902d10cfda6549e8a79cc638d2e2b08 (diff) | |
| download | niri-ed9932d70dae30885fa2115520d13d439f9a0273.tar.gz niri-ed9932d70dae30885fa2115520d13d439f9a0273.tar.bz2 niri-ed9932d70dae30885fa2115520d13d439f9a0273.zip | |
wiki: Update the layer-shell components page
Diffstat (limited to 'wiki/Layer‐Shell-Components.md')
| -rw-r--r-- | wiki/Layer‐Shell-Components.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/wiki/Layer‐Shell-Components.md b/wiki/Layer‐Shell-Components.md index d1166966..6669e63c 100644 --- a/wiki/Layer‐Shell-Components.md +++ b/wiki/Layer‐Shell-Components.md @@ -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.
\ No newline at end of file +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. |
