summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/trailfocus2.c
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-01 11:18:35 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-01 11:18:35 +0000
commit32d0fb6592691b9b86ed44e006b6a3d17f7d3ce0 (patch)
treeab1988ac6d6f5225472c8228fc8e3443be97ba85 /beryl-plugins/src/trailfocus2.c
parent85d877d19902a8d887bf8ffcaff654234cd2b74e (diff)
downloadmarex-dev-32d0fb6592691b9b86ed44e006b6a3d17f7d3ce0.tar.gz
marex-dev-32d0fb6592691b9b86ed44e006b6a3d17f7d3ce0.tar.bz2
trailfocus plugin: also check wmType for determining trailfocus windows (for docks pretending to be normal windows)
git-svn-id: file:///beryl/trunk@3541 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/trailfocus2.c')
-rw-r--r--beryl-plugins/src/trailfocus2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/beryl-plugins/src/trailfocus2.c b/beryl-plugins/src/trailfocus2.c
index d5e2f78..96a71d7 100644
--- a/beryl-plugins/src/trailfocus2.c
+++ b/beryl-plugins/src/trailfocus2.c
@@ -100,6 +100,10 @@ static Bool is_trailfocus_window(TrailfocusScreen * ts, CompWindow * w)
{
if (!(w->type & ts->wMask))
return False;
+
+ if (!(w->wmType & ts->wMask))
+ return False;
+
if (w->defaultPaintLock.opacity && w->defaultPaintLock.saturation
&& w->defaultPaintLock.brightness)
return False;