Add toggle-window-rule-opacity action

This commit is contained in:
Ivan Molodetskikh
2025-01-23 10:40:52 +03:00
parent b01b8afa8c
commit a10705fb20
13 changed files with 115 additions and 2 deletions
+5
View File
@@ -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
}