From 25ce029cf67993a7bc8dfc3de0ccd4ab3c9f349b Mon Sep 17 00:00:00 2001 From: Ryan Stewart Date: Fri, 20 Feb 2015 12:32:40 -0800 Subject: expose the platform-specific window handle (currently Win only) --- src/x11/window/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/x11/window/mod.rs') diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs index f8afc08..faeea3e 100644 --- a/src/x11/window/mod.rs +++ b/src/x11/window/mod.rs @@ -719,6 +719,10 @@ impl Window { self.x.display as *mut libc::c_void } + pub fn platform_window(&self) -> *mut libc::c_void { + unimplemented!() + } + /// See the docs in the crate root file. pub fn get_api(&self) -> ::Api { ::Api::OpenGl -- cgit v1.2.3