aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/x11/window.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs
index 3da4e7b..f705841 100644
--- a/src/api/x11/window.rs
+++ b/src/api/x11/window.rs
@@ -319,9 +319,6 @@ impl Window {
let xf86_desk_mode = *modes.offset(0);
- // FIXME: `XF86VidModeModeInfo` is missing its `hskew` field. Therefore we point to
- // `vsyncstart` instead of `vdisplay` as a temporary hack.
-
let mode_to_switch_to = if window_attrs.monitor.is_some() {
let matching_mode = (0 .. mode_num).map(|i| {
let m: ffi::XF86VidModeModeInfo = ptr::read(*modes.offset(i as isize) as *const _); m