From 927a1a8965dd23d528f9fdedc4ee41927534b215 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 11 Jan 2014 20:28:50 +0200 Subject: [PATCH] Remove some leftover XF86VidMode fragments --- source/graphics/x11/window.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/source/graphics/x11/window.cpp b/source/graphics/x11/window.cpp index 577f1d4..b7fabd5 100644 --- a/source/graphics/x11/window.cpp +++ b/source/graphics/x11/window.cpp @@ -1,9 +1,6 @@ #include #include #include -#ifdef WITH_XF86VIDMODE -#include -#endif #include #include "display_private.h" #include "window.h" @@ -184,14 +181,6 @@ bool Window::event(const Event &evnt) resizing = false; signal_resize.emit(options.width, options.height); } -#ifdef WITH_XF86VIDMODE - if(options.fullscreen) - { - DisplayHandle dpy = display.get_private().display; - int screen = DefaultScreen(dpy); - XF86VidModeSetViewPort(dpy, screen, ev.xconfigure.x, ev.xconfigure.y); - } -#endif break; case ClientMessage: if(ev.xclient.data.l[0]==static_cast(priv->wm_delete_window)) -- 2.45.2