diff options
Diffstat (limited to 'src/x11')
| -rw-r--r-- | src/x11/mod.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11/mod.rs b/src/x11/mod.rs index 7d732a2..0f5f557 100644 --- a/src/x11/mod.rs +++ b/src/x11/mod.rs @@ -140,7 +140,7 @@ impl Window {          // finally creating the window          let window = unsafe { -            let win = ffi::XCreateWindow(display, root, 50, 50, dimensions.val0() as libc::c_uint, +            let win = ffi::XCreateWindow(display, root, 0, 0, dimensions.val0() as libc::c_uint,                  dimensions.val1() as libc::c_uint, 0, visual_infos.depth, ffi::InputOutput,                  visual_infos.visual, window_attributes,                  &mut set_win_attr);  | 
