aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/x11
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/x11')
-rw-r--r--src/api/x11/window.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs
index b964fed..4d2dfb2 100644
--- a/src/api/x11/window.rs
+++ b/src/api/x11/window.rs
@@ -304,6 +304,10 @@ impl Window {
{
let dimensions = window_attrs.dimensions.unwrap_or((800, 600));
+ // not implemented
+ assert!(win_attribs.min_dimensions.is_none());
+ assert!(win_attribs.max_dimensions.is_none());
+
let screen_id = match window_attrs.monitor {
Some(PlatformMonitorId::X(MonitorId(_, monitor))) => monitor as i32,
_ => unsafe { (display.xlib.XDefaultScreen)(display.display) },