summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-11 19:44:33 +0000
committerDana Jansens <danakj@orodu.net>2003-05-11 19:44:33 +0000
commit58cfbb7f8419e084af6b6b8b00c88ed270c29e88 (patch)
tree6d786e87e1fb369d94522a69d0b3f2c694a8ed4e /plugins
parent506122a110035f810c7d25225661973845a59c62 (diff)
Clients Menus and Slits are all 'ObWindow's now.
Stacking is done with ObWindows. Slits add themselves to the stacking order, as do clients of course. Added some macros for adding/removing to the stacking order.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/resistance.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/resistance.c b/plugins/resistance.c
index 4c2dad63..cc628492 100644
--- a/plugins/resistance.c
+++ b/plugins/resistance.c
@@ -65,6 +65,8 @@ static void resist_move(Client *c, int *x, int *y)
Client *target;
int tl, tt, tr, tb; /* 1 past the target's edges on each side */
+ if (!WINDOW_IS_CLIENT(it->data))
+ continue;
target = it->data;
/* don't snap to self or non-visibles */
if (!target->frame->visible || target == c) continue;