summaryrefslogtreecommitdiff
path: root/kde
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2008-09-02 13:45:32 +0200
committerDennis kasprzyk <onestone@compiz-fusion.org>2008-09-02 13:45:32 +0200
commit603ba6820e732dc8ba7219c54414dce24e38d781 (patch)
tree92bfe4fd7a78e3b91ae6be67cb90481db8e1de55 /kde
parent01856ab236cbddf1ed44563f1bb94118e6ac7884 (diff)
downloadzcomp-603ba6820e732dc8ba7219c54414dce24e38d781.tar.gz
zcomp-603ba6820e732dc8ba7219c54414dce24e38d781.tar.bz2
Synchronize decoration creation.
Diffstat (limited to 'kde')
-rw-r--r--kde/window-decorator-kde4/window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kde/window-decorator-kde4/window.cpp b/kde/window-decorator-kde4/window.cpp
index cd0731b..f2cfcf0 100644
--- a/kde/window-decorator-kde4/window.cpp
+++ b/kde/window-decorator-kde4/window.cpp
@@ -784,7 +784,11 @@ KWD::Window::createDecoration (void)
StructureNotifyMask | PropertyChangeMask);
KWD::popXError ();
+ XSync (QX11Info::display(), FALSE);
+ XSynchronize (QX11Info::display(), TRUE);
resizeDecoration (true);
+ XSynchronize (QX11Info::display(), FALSE);
+
}
static void