aboutsummaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/mod.rs')
-rw-r--r--src/layout/mod.rs5
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
}