X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgbase%2Fwindow.cpp;h=22d73b1da2ada5fe7876e82f0653d030a576450a;hb=dfa13b10b63d0a813db378c4212e90a32ee4d65c;hp=06af1ae7662fae81ed8b18c07db8b05ecd4aee0a;hpb=33d34a97cf858d3e23ff797f46c58f4ca9392170;p=libs%2Fgui.git diff --git a/source/gbase/window.cpp b/source/gbase/window.cpp index 06af1ae..22d73b1 100644 --- a/source/gbase/window.cpp +++ b/source/gbase/window.cpp @@ -456,12 +456,14 @@ bool Window::event(const Event &evnt) resizing=false; signal_resize.emit(options.width, options.height); } +#ifdef WITH_XF86VIDMODE if(options.fullscreen) { ::Display *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))