diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-03 16:24:02 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-03 16:24:23 +0300 |
| commit | 8e16be9e1150fed822fd671b3faf082a9b2641c0 (patch) | |
| tree | fe33daa07cbbae2a3b48f5a33034a793cb21607b /src/niri.rs | |
| parent | 300701f44e9d1fef38eda06fc33b34708a8c6e50 (diff) | |
| download | niri-8e16be9e1150fed822fd671b3faf082a9b2641c0.tar.gz niri-8e16be9e1150fed822fd671b3faf082a9b2641c0.tar.bz2 niri-8e16be9e1150fed822fd671b3faf082a9b2641c0.zip | |
Allow pop-up grabs for bottom and background layers
Diffstat (limited to 'src/niri.rs')
| -rw-r--r-- | src/niri.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/niri.rs b/src/niri.rs index 665238ac..c8180c73 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -920,6 +920,8 @@ impl State { // fullscreen layout window. This will need tracking in grab() to avoid handing it out // in the first place. Or a better way to structure this code. surface = surface.or_else(|| grab_on_layer(Layer::Top)); + surface = surface.or_else(|| grab_on_layer(Layer::Bottom)); + surface = surface.or_else(|| grab_on_layer(Layer::Background)); surface = surface.or_else(|| focus_on_layer(Layer::Overlay)); |
