all repos — openbox @ a866259d1f3fc88eb56a16e8b09712871fd09bcf

openbox fork - make it a bit more like ryudo

when finding edges and we're omnipresent only use windows on screen
Dana Jansens danakj@orodu.net
commit

a866259d1f3fc88eb56a16e8b09712871fd09bcf

parent

10f79f4daea0cf4e904a9f85783cd40e0bfb8af5

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -3876,12 +3876,12 @@ return NULL;

} #define WANT_EDGE(cur, c) \ - if(cur == c) \ + if (cur == c) \ continue; \ - if(c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL && \ - c->desktop != DESKTOP_ALL) \ + if (c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL && \ + cur->desktop != screen_desktop) \ continue; \ - if(cur->iconic) \ + if (cur->iconic) \ continue; #define HIT_EDGE(my_edge_start, my_edge_end, his_edge_start, his_edge_end) \