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 1a87b671..9f43b963 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -157,7 +157,7 @@ pub trait LayoutElement {
animate: bool,
transaction: Option<Transaction>,
);
- fn request_fullscreen(&self, size: Size<i32, Logical>);
+ fn request_fullscreen(&mut self, size: Size<i32, Logical>);
fn min_size(&self) -> Size<i32, Logical>;
fn max_size(&self) -> Size<i32, Logical>;
fn is_wl_surface(&self, wl_surface: &WlSurface) -> bool;
@@ -3999,7 +3999,7 @@ mod tests {
self.0.pending_fullscreen.set(false);
}
- fn request_fullscreen(&self, _size: Size<i32, Logical>) {
+ fn request_fullscreen(&mut self, _size: Size<i32, Logical>) {
self.0.pending_fullscreen.set(true);
}