From 4c0413bc7cbf83066014ca2334827fd8ccfbcfa7 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Mon, 24 Nov 2014 20:13:32 +0100 Subject: Implement lists sharing --- src/android/mod.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/android') diff --git a/src/android/mod.rs b/src/android/mod.rs index e0a33c4..2f6ffb1 100644 --- a/src/android/mod.rs +++ b/src/android/mod.rs @@ -39,9 +39,13 @@ impl MonitorID { } impl Window { - pub fn new(_builder: WindowBuilder) -> Result { + pub fn new(builder: WindowBuilder) -> Result { use std::{mem, ptr}; + if builder.sharing.is_some() { + unimplemented!() + } + let native_window = unsafe { android_glue::get_native_window() }; if native_window.is_null() { return Err(OsError(format!("Android's native window is null"))); -- cgit v1.2.3