when finding edges and we're omnipresent only use windows on screen
This commit is contained in:
parent
10f79f4dae
commit
a866259d1f
1 changed files with 4 additions and 4 deletions
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue