aboutsummaryrefslogtreecommitdiff
path: root/src/layout
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout')
-rw-r--r--src/layout/mod.rs2
-rw-r--r--src/layout/tests.rs4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs
index d42f05a5..b2726bef 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -210,6 +210,8 @@ pub trait LayoutElement {
fn set_bounds(&self, bounds: Size<i32, Logical>);
fn is_ignoring_opacity_window_rule(&self) -> bool;
+ fn is_urgent(&self) -> bool;
+
fn configure_intent(&self) -> ConfigureIntent;
fn send_pending_configure(&mut self);
diff --git a/src/layout/tests.rs b/src/layout/tests.rs
index 4ac5aaf7..a02d1120 100644
--- a/src/layout/tests.rs
+++ b/src/layout/tests.rs
@@ -261,6 +261,10 @@ impl LayoutElement for TestWindow {
fn interactive_resize_data(&self) -> Option<InteractiveResizeData> {
None
}
+
+ fn is_urgent(&self) -> bool {
+ false
+ }
}
fn arbitrary_bbox() -> impl Strategy<Value = Rectangle<i32, Logical>> {