summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/place.c
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-25 11:54:09 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-25 11:54:09 +0000
commitcb924c7cf5f38ddc51dfe1a9a6d35d3aaf9c43ab (patch)
tree3f831583217e360ed21efe2f090f99e3dd7aca63 /beryl-plugins/src/place.c
parente67b75b46d70d8f520dddcdb7e59aebc2ea9ca0f (diff)
downloadmarex-dev-cb924c7cf5f38ddc51dfe1a9a6d35d3aaf9c43ab.tar.gz
marex-dev-cb924c7cf5f38ddc51dfe1a9a6d35d3aaf9c43ab.tar.bz2
place plugin: fixed two stupid typos
git-svn-id: file:///beryl/trunk@3123 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/place.c')
-rw-r--r--beryl-plugins/src/place.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/beryl-plugins/src/place.c b/beryl-plugins/src/place.c
index ceda9b2..35c86b6 100644
--- a/beryl-plugins/src/place.c
+++ b/beryl-plugins/src/place.c
@@ -1034,11 +1034,13 @@ placeWindow(CompWindow * window, int x, int y, int *new_x, int *new_y)
if (wi->attrib.override_redirect)
continue;
- if (wi->state & (CompWindowTypeDesktopMask |
- CompWindowTypeDockMask |
- CompWindowTypeFullscreenMask |
- CompWindowTypeOffscreenMask |
- CompWindowTypeUnknownMask))
+ if (wi->state & CompWindowStateOffscreenMask)
+ continue;
+
+ if (wi->type & (CompWindowTypeDesktopMask |
+ CompWindowTypeDockMask |
+ CompWindowTypeFullscreenMask |
+ CompWindowTypeUnknownMask))
continue;
if (wi != window)