From b0d9d0b87f8884639001d69f3a79d4bb41f019f4 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Sat, 2 Aug 2014 11:23:32 +0200 Subject: Dimensions will now match the monitor's in case of fullscreen --- src/x11/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/x11') diff --git a/src/x11/mod.rs b/src/x11/mod.rs index f157237..580a897 100644 --- a/src/x11/mod.rs +++ b/src/x11/mod.rs @@ -39,7 +39,7 @@ impl MonitorID { impl Window { pub fn new(builder: WindowBuilder) -> Result { // TODO: temporary - let dimensions = Some(builder.dimensions); + let dimensions = builder.dimensions; let title = builder.title.as_slice(); // calling XOpenDisplay -- cgit v1.2.3