diff options
author | marha <marha@users.sourceforge.net> | 2009-10-02 15:11:28 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-10-02 15:11:28 +0000 |
commit | 3be38f18eefd136b644ca4423ba834eb035fd7dc (patch) | |
tree | 1ddf414f049e5dada657c65d320bab77cfbc8eb8 /xorg-server/hw/xwin/winmultiwindowwm.c | |
parent | 516cdec4894096305f5002b922ba02d49cb3e816 (diff) | |
download | vcxsrv-3be38f18eefd136b644ca4423ba834eb035fd7dc.tar.gz vcxsrv-3be38f18eefd136b644ca4423ba834eb035fd7dc.tar.bz2 vcxsrv-3be38f18eefd136b644ca4423ba834eb035fd7dc.zip |
XSetWindowBorderWidth can only be called if the window class is different from InputOnly
Diffstat (limited to 'xorg-server/hw/xwin/winmultiwindowwm.c')
-rw-r--r-- | xorg-server/hw/xwin/winmultiwindowwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winmultiwindowwm.c b/xorg-server/hw/xwin/winmultiwindowwm.c index 3f1a97541..e7322c218 100644 --- a/xorg-server/hw/xwin/winmultiwindowwm.c +++ b/xorg-server/hw/xwin/winmultiwindowwm.c @@ -976,7 +976,7 @@ winMultiWindowXMsgProc (void *pArg) event.xcreatewindow.window, &attr); - if (!attr.override_redirect) + if (!attr.override_redirect && attr.class != InputOnly) XSetWindowBorderWidth(pProcArg->pDisplay, event.xcreatewindow.window, 0); |