diff options
Diffstat (limited to 'src/mcompositescene.cpp')
-rw-r--r-- | src/mcompositescene.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mcompositescene.cpp b/src/mcompositescene.cpp index ed4af90..63321d5 100644 --- a/src/mcompositescene.cpp +++ b/src/mcompositescene.cpp @@ -67,7 +67,8 @@ void MCompositeScene::prepareRoot() XSetWindowAttributes sattr; sattr.event_mask = SubstructureRedirectMask | SubstructureNotifyMask | StructureNotifyMask | PropertyChangeMask; - //XCompositeRedirectSubwindows (dpy, root, CompositeRedirectAutomatic); + // All newly mapped windows should be redirected to avoid double Expose + XCompositeRedirectSubwindows(dpy, root, CompositeRedirectManual); XChangeWindowAttributes(dpy, root, CWEventMask, &sattr); XSelectInput(dpy, root, SubstructureNotifyMask | SubstructureRedirectMask |