summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2008-05-22 21:35:59 +0200
committerKristian Lyngstol <kristian@bohemians.org>2008-05-22 21:35:59 +0200
commitc46fbf34becf36f70c343e51b266c46fb6c14685 (patch)
tree6393d2ac9fadf1d3c49de5da4425a4d8640dacf1
parent91c1367dc46d54956489b2df5e7bebf1f90fd613 (diff)
downloadaddhelper-compiz-0.8.tar.gz
addhelper-compiz-0.8.tar.bz2
Don't initially dim override_redirect windows, fixes menu issuescompiz-0.8
-rw-r--r--addhelper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/addhelper.c b/addhelper.c
index 3f04c70..96b32b3 100644
--- a/addhelper.c
+++ b/addhelper.c
@@ -232,7 +232,9 @@ addhelperInitWindow (CompPlugin *p,
w->base.privates[as->windowPrivateIndex].ptr = aw;
- if (ad->toggle && w->id != w->screen->display->activeWindow)
+ if (ad->toggle &&
+ w->id != w->screen->display->activeWindow &&
+ !w->attrib.override_redirect)
aw->dim = TRUE;
else
aw->dim = FALSE;