diff options
Diffstat (limited to 'src/x11')
-rw-r--r-- | src/x11/window/mod.rs | 4 |
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 + } } |