From a10705fb200b452802a1ba7cd47679536e0ef849 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 23 Jan 2025 10:40:52 +0300 Subject: Add toggle-window-rule-opacity action --- src/layout/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/layout/mod.rs') 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); + 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) {} + fn is_ignoring_opacity_window_rule(&self) -> bool { + false + } + fn configure_intent(&self) -> ConfigureIntent { ConfigureIntent::CanSend } -- cgit