summaryrefslogtreecommitdiff
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, 4 insertions, 0 deletions
diff --git a/src/display.rs b/src/display.rs
index 20c2ce37..d8c10d18 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -335,4 +335,8 @@ impl Display {
api.clear();
});
}
+
+ pub fn get_window_id(&self) -> Option<usize> {
+ self.window.get_window_id()
+ }
}