diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-02 00:12:37 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-02 00:12:37 +0000 |
| commit | a866259d1f3fc88eb56a16e8b09712871fd09bcf (patch) | |
| tree | cbe18505566a2e7856744d80b0101dc3e70e5446 /openbox/client.c | |
| parent | 10f79f4daea0cf4e904a9f85783cd40e0bfb8af5 (diff) | |
when finding edges and we're omnipresent only use windows on screen
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/client.c b/openbox/client.c index 973cbc79..a338df16 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3876,12 +3876,12 @@ ObClient *client_search_transient(ObClient *self, ObClient *search) } #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) \ |
