aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavidPartouche <david@manateedev.com>2014-09-19 15:42:47 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-09-19 20:30:15 +0200
commit906324e26744a773d43b8737fdc60ae730f24141 (patch)
treeea19df2091d8d23b3cd95d90d82404785c01febc /src
parent6f47e6ff8ca839899abb67b3d656e04231ca0cf8 (diff)
downloadglutin-906324e26744a773d43b8737fdc60ae730f24141.tar.gz
glutin-906324e26744a773d43b8737fdc60ae730f24141.zip
Get the monitors attached to the display, and their resolution for X11
Diffstat (limited to 'src')
-rw-r--r--src/x11/mod.rs2
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);