From: Mikko Rasa Date: Sat, 11 Jan 2014 18:28:50 +0000 (+0200) Subject: Remove some leftover XF86VidMode fragments X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=927a1a8965dd23d528f9fdedc4ee41927534b215;p=libs%2Fgui.git Remove some leftover XF86VidMode fragments --- 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))