projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9938de3
)
watch out for stacking_list
author
Dana Jansens
<danakj@orodu.net>
Sun, 11 May 2003 23:59:16 +0000
(23:59 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 11 May 2003 23:59:16 +0000
(23:59 +0000)
plugins/resistance.c
patch
|
blob
|
history
diff --git
a/plugins/resistance.c
b/plugins/resistance.c
index cc628492cb80da867b2ae56d9cbe8d46ed4242da..bafd362c0ec8c62a5cf77a204898d0ff6874b1de 100644
(file)
--- a/
plugins/resistance.c
+++ b/
plugins/resistance.c
@@
-162,6
+162,8
@@
static void resist_size(Client *c, int *w, int *h, Corner corn)
/* snap to other windows */
if (resist_windows) {
for (it = stacking_list; it != NULL; it = it->next) {
+ if (!WINDOW_IS_CLIENT(it->data))
+ continue;
target = it->data;
/* don't snap to invisibles or ourself */