summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-12 04:16:32 +0000
committerDana Jansens <danakj@orodu.net>2007-06-12 04:16:32 +0000
commit517e63575256faaabb32dc268b7f8af07b35b172 (patch)
treea2878fb04d1935c7ad04a9aa069837aec69b8ea6 /openbox
parent881a8647d2eb5f13eccda87a712c180fa9e902cf (diff)
i dont think people shade windows with the intention of having them hidden by stuff. also bug fix.
Diffstat (limited to 'openbox')
-rw-r--r--openbox/place.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/openbox/place.c b/openbox/place.c
index 6c81df61..c30a27f9 100644
--- a/openbox/place.c
+++ b/openbox/place.c
@@ -217,11 +217,11 @@ enum {
IGNORE_FULLSCREEN = 1 << 0,
IGNORE_MAXIMIZED = 1 << 1,
IGNORE_MENUTOOL = 1 << 2,
- IGNORE_SHADED = 1 << 3,
- IGNORE_NONGROUP = 1 << 4,
- IGNORE_BELOW = 1 << 5,
- IGNORE_NONFOCUS = 1 << 6,
- IGNORE_END = 1 << 7
+ /*IGNORE_SHADED = 1 << 3,*/
+ IGNORE_NONGROUP = 1 << 3,
+ IGNORE_BELOW = 1 << 4,
+ IGNORE_NONFOCUS = 1 << 5,
+ IGNORE_END = 1 << 6
};
static gboolean place_nooverlap(ObClient *c, gint *x, gint *y)
@@ -275,10 +275,12 @@ static gboolean place_nooverlap(ObClient *c, gint *x, gint *y)
(test->type == OB_CLIENT_TYPE_MENU ||
test->type == OB_CLIENT_TYPE_TOOLBAR) &&
client_has_parent(c)) continue;
+ /*
if ((ignore & IGNORE_SHADED) &&
test->shaded) continue;
+ */
if ((ignore & IGNORE_NONGROUP) &&
- client_has_group_siblings(test) &&
+ client_has_group_siblings(c) &&
test->group != c->group) continue;
if ((ignore & IGNORE_BELOW) &&
test->layer < c->layer) continue;