aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/wayland/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/wayland/mod.rs')
-rw-r--r--src/api/wayland/mod.rs4
1 files changed, 4 insertions, 0 deletions
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),