aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/window/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/window/mod.rs')
-rw-r--r--src/x11/window/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs
index 5b70a19..0f74dfe 100644
--- a/src/x11/window/mod.rs
+++ b/src/x11/window/mod.rs
@@ -658,4 +658,8 @@ impl Window {
ffi::XFlush(self.x.display);
}
}
+
+ pub fn hidpi_factor(&self) -> f32 {
+ 1.0
+ }
}