when finding edges and we're omnipresent only use windows on screen

This commit is contained in:
Dana Jansens 2007-06-02 00:12:37 +00:00
parent 10f79f4dae
commit a866259d1f

View file

@ -3879,7 +3879,7 @@ ObClient *client_search_transient(ObClient *self, ObClient *search)
if (cur == c) \ if (cur == c) \
continue; \ continue; \
if (c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL && \ if (c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL && \
c->desktop != DESKTOP_ALL) \ cur->desktop != screen_desktop) \
continue; \ continue; \
if (cur->iconic) \ if (cur->iconic) \
continue; continue;