sweeze
January 8th, 2007, 05:46 PM
basically taking the same workaround in animation plugin to not have firefox/openoffice menus be modified by trailfocus. can this be applied to the compiz-extra tarball/packages?
--- compiz-extra-0.3.6.0/trailfocus/trailfocus.c 2006-10-29 07:24:00.000000000 -0800
+++ compiz-extra-0.3.6.0.changed/trailfocus/trailfocus.c 2007-01-08 08:41:03.000000000 -0800
@@ -642,6 +642,8 @@
return FALSE;
if (!(tfs->wmask & w->type))
return FALSE;
+ if (w->type == CompWindowTypeNormalMask && w->attrib.override_redirect)
+ return FALSE; // menu fix hack
return TRUE;
}
--- compiz-extra-0.3.6.0/trailfocus/trailfocus.c 2006-10-29 07:24:00.000000000 -0800
+++ compiz-extra-0.3.6.0.changed/trailfocus/trailfocus.c 2007-01-08 08:41:03.000000000 -0800
@@ -642,6 +642,8 @@
return FALSE;
if (!(tfs->wmask & w->type))
return FALSE;
+ if (w->type == CompWindowTypeNormalMask && w->attrib.override_redirect)
+ return FALSE; // menu fix hack
return TRUE;
}