diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-23 10:40:52 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-23 11:13:55 +0300 |
| commit | a10705fb200b452802a1ba7cd47679536e0ef849 (patch) | |
| tree | 7e12f0602c4652e043021392632e7e4e24ebb4fe /src/layout/mod.rs | |
| parent | b01b8afa8c8f9070300243050d9790e38fd19145 (diff) | |
| download | niri-a10705fb200b452802a1ba7cd47679536e0ef849.tar.gz niri-a10705fb200b452802a1ba7cd47679536e0ef849.tar.bz2 niri-a10705fb200b452802a1ba7cd47679536e0ef849.zip | |
Add toggle-window-rule-opacity action
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index eb702c37..63bedc7f 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -190,6 +190,7 @@ pub trait LayoutElement { fn set_active_in_column(&mut self, active: bool); fn set_floating(&mut self, floating: bool); fn set_bounds(&self, bounds: Size<i32, Logical>); + fn is_ignoring_opacity_window_rule(&self) -> bool; fn configure_intent(&self) -> ConfigureIntent; fn send_pending_configure(&mut self); @@ -4347,6 +4348,10 @@ mod tests { fn set_bounds(&self, _bounds: Size<i32, Logical>) {} + fn is_ignoring_opacity_window_rule(&self) -> bool { + false + } + fn configure_intent(&self) -> ConfigureIntent { ConfigureIntent::CanSend } |
