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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs
index 7162c3e3..bc5c8dcf 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -107,7 +107,7 @@ pub trait LayoutElement {
fn output_enter(&self, output: &Output);
fn output_leave(&self, output: &Output);
fn set_offscreen_element_id(&self, id: Option<Id>);
- fn set_activated(&self, active: bool);
+ fn set_activated(&mut self, active: bool);
fn set_bounds(&self, bounds: Size<i32, Logical>);
fn send_pending_configure(&self);
@@ -1893,7 +1893,7 @@ mod tests {
fn set_offscreen_element_id(&self, _id: Option<Id>) {}
- fn set_activated(&self, _active: bool) {}
+ fn set_activated(&mut self, _active: bool) {}
fn set_bounds(&self, _bounds: Size<i32, Logical>) {}