mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Add toggle-window-rule-opacity action
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user