]> git.tdb.fi Git - libs/gui.git/commitdiff
Remove some leftover XF86VidMode fragments
authorMikko Rasa <tdb@tdb.fi>
Sat, 11 Jan 2014 18:28:50 +0000 (20:28 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 11 Jan 2014 18:28:50 +0000 (20:28 +0200)
source/graphics/x11/window.cpp

index 577f1d42d65f41af62b08d10c9d57f23167dbc12..b7fabd557064c3e7433ce76e049effd3c8beb6e1 100644 (file)
@@ -1,9 +1,6 @@
 #include <vector>
 #include <X11/Xatom.h>
 #include <X11/Xutil.h>
-#ifdef WITH_XF86VIDMODE
-#include <X11/extensions/xf86vmode.h>
-#endif
 #include <msp/core/systemerror.h>
 #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<long>(priv->wm_delete_window))