diff --git a/Bin/LibD b/Bin/LibD index db41ef8..4eac3ac 100755 Binary files a/Bin/LibD and b/Bin/LibD differ diff --git a/src/Main/GLWindow.h b/src/Main/GLWindow.h index faffb86..53bee91 100644 --- a/src/Main/GLWindow.h +++ b/src/Main/GLWindow.h @@ -38,4 +38,4 @@ private: RECT _windowRect; // Window bound. HINSTANCE _hinstance; // Application instance. WNDCLASSEX _windowClass; -} \ No newline at end of file +} diff --git a/src/Main/LGLXWindow.cpp b/src/Main/LGLXWindow.cpp index 7ea42e9..c9b61d2 100644 --- a/src/Main/LGLXWindow.cpp +++ b/src/Main/LGLXWindow.cpp @@ -127,10 +127,10 @@ bool LGLXWindow::Create(int width, int height, int bpp, bool fullscreen) { StructureNotifyMask; _XSetAttr.override_redirect = False; - unsigned long windowAttributes = CWBorderPixel | CWColormap | CWEventMask; + //unsigned long windowAttributes = CWBorderPixel | CWColormap | CWEventMask; if(fullscreen) { - windowAttributes = CWBorderPixel | CWColormap | CWEventMask | CWOverrideRedirect; + //windowAttributes = CWBorderPixel | CWColormap | CWEventMask | CWOverrideRedirect; XF86VidModeSwitchToMode(_display, _screenID, modes[bestMode]); XF86VidModeSetViewPort(_display, _screenID, 0, 0); @@ -151,7 +151,7 @@ bool LGLXWindow::Create(int width, int height, int bpp, bool fullscreen) { } else { Atom wmDelete = XInternAtom(_display, "WM_DELETE_WINDOW", True); XSetWMProtocols(_display, _xWindow, &wmDelete, 1); - XSetStandardProperties(_display, _xWindow, title.c_str(), None, NULL, NULL, 0, NULL); + XSetStandardProperties(_display, _xWindow, title.c_str(), None, 0, NULL, 0, NULL); XMapRaised(_display, _xWindow); }