change which windows are used for finding edges. its the same as window resistance really now. and works if the window isnt on the current desktop

This commit is contained in:
Dana Jansens 2007-06-02 00:05:06 +00:00
parent 2b28aa8c41
commit 10f79f4dae

View file

@ -3878,9 +3878,8 @@ ObClient *client_search_transient(ObClient *self, ObClient *search)
#define WANT_EDGE(cur, c) \ #define WANT_EDGE(cur, c) \
if(cur == c) \ if(cur == c) \
continue; \ continue; \
if(!client_normal(cur)) \ if(c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL && \
continue; \ c->desktop != DESKTOP_ALL) \
if(screen_desktop != cur->desktop && cur->desktop != DESKTOP_ALL) \
continue; \ continue; \
if(cur->iconic) \ if(cur->iconic) \
continue; continue;