aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display.rs b/src/display.rs
index bdb5274c..3d13f465 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -231,8 +231,8 @@ impl Display {
self.tx.clone()
}
- pub fn window(&self) -> &Window {
- &self.window
+ pub fn window(&mut self) -> &mut Window {
+ &mut self.window
}
/// Process pending resize events