From 9a05577df8f3e616de94635ef41e0d8601f3091c Mon Sep 17 00:00:00 2001 From: Aceeri Date: Mon, 9 Nov 2015 03:18:48 -0800 Subject: Not implemented asserts to prevent silent fails --- src/api/wayland/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/api/wayland') diff --git a/src/api/wayland/mod.rs b/src/api/wayland/mod.rs index 2877713..8084516 100644 --- a/src/api/wayland/mod.rs +++ b/src/api/wayland/mod.rs @@ -257,6 +257,10 @@ impl Window { { use self::wayland::internals::FFI; + // not implemented + assert!(win_attribs.min_dimensions.is_none()); + assert!(win_attribs.max_dimensions.is_none()); + let wayland_context = match *WAYLAND_CONTEXT { Some(ref c) => c, None => return Err(CreationError::NotSupported), -- cgit v1.2.3