diff options
author | marha <marha@users.sourceforge.net> | 2010-04-28 06:25:25 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-04-28 06:25:25 +0000 |
commit | 8518c45ee46a907cfdc93f1b3f54f20ef210b0f8 (patch) | |
tree | 0146b723993e8ae2c3a03c46f7b556ff8c54525c /xorg-server | |
parent | 777d70e1d6f7c1864a59a810f154ca2adb41e4e1 (diff) | |
download | vcxsrv-8518c45ee46a907cfdc93f1b3f54f20ef210b0f8.tar.gz vcxsrv-8518c45ee46a907cfdc93f1b3f54f20ef210b0f8.tar.bz2 vcxsrv-8518c45ee46a907cfdc93f1b3f54f20ef210b0f8.zip |
In case of NativeWgl specify CS_OWNDC for the window class
Diffstat (limited to 'xorg-server')
-rw-r--r-- | xorg-server/hw/xwin/winmultiwindowwindow.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winmultiwindowwindow.c b/xorg-server/hw/xwin/winmultiwindowwindow.c index fbde122a1..99f812e49 100644 --- a/xorg-server/hw/xwin/winmultiwindowwindow.c +++ b/xorg-server/hw/xwin/winmultiwindowwindow.c @@ -47,6 +47,7 @@ extern HICON g_hIconX;
extern HICON g_hSmallIconX;
extern HWND g_hDlgDepthChange;
+extern Bool g_fNativeGl;
/*
* Prototypes for local functions
@@ -74,7 +75,7 @@ void winInitMultiWindowClass(void) {
/* Setup our window class */
wcx.cbSize=sizeof(WNDCLASSEX);
- wcx.style = CS_HREDRAW | CS_VREDRAW;
+ wcx.style = CS_HREDRAW | CS_VREDRAW | (g_fNativeGl ? CS_OWNDC : 0);
wcx.lpfnWndProc = winTopLevelWindowProc;
wcx.cbClsExtra = 0;
wcx.cbWndExtra = 0;
|