aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-10-02 15:11:28 +0000
committermarha <marha@users.sourceforge.net>2009-10-02 15:11:28 +0000
commit3be38f18eefd136b644ca4423ba834eb035fd7dc (patch)
tree1ddf414f049e5dada657c65d320bab77cfbc8eb8 /xorg-server
parent516cdec4894096305f5002b922ba02d49cb3e816 (diff)
downloadvcxsrv-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')
-rw-r--r--xorg-server/hw/xwin/winmultiwindowwm.c2
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);