summaryrefslogtreecommitdiff
path: root/mi/mioverlay.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-09-11 10:11:39 -0400
committerAdam Jackson <ajax@redhat.com>2014-10-09 11:19:06 +0200
commit5ecd7866f7587d620f000e802a262c7cd4b9df33 (patch)
treef332a6c71f4fd9a19fd654ac7564bfe8860c69fe /mi/mioverlay.c
parent5b07f1db6de9f08f757206454da03ee0ae872bfc (diff)
misc: Fold together some redundant conditionals
Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'mi/mioverlay.c')
-rw-r--r--mi/mioverlay.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mi/mioverlay.c b/mi/mioverlay.c
index 2ad6bc082..eb8dda133 100644
--- a/mi/mioverlay.c
+++ b/mi/mioverlay.c
@@ -1464,11 +1464,7 @@ miOverlaySetShape(WindowPtr pWin, int kind)
if (WasViewable) {
(*pScreen->MarkOverlappedWindows) (pWin, pWin, NULL);
-
(*pScreen->ValidateTree) (pWin->parent, NullWindow, VTOther);
- }
-
- if (WasViewable) {
(*pScreen->HandleExposures) (pWin->parent);
if (pScreen->PostValidateTree)
(*pScreen->PostValidateTree) (pWin->parent, NullWindow,