From: Dana Jansens Date: Sat, 2 Jun 2007 00:05:06 +0000 (+0000) Subject: change which windows are used for finding edges. its the same as window resistance... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=10f79f4daea0cf4e904a9f85783cd40e0bfb8af5;p=chaz%2Fopenbox 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 --- diff --git a/openbox/client.c b/openbox/client.c index 474789ce..973cbc79 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3878,9 +3878,8 @@ ObClient *client_search_transient(ObClient *self, ObClient *search) #define WANT_EDGE(cur, c) \ if(cur == c) \ continue; \ - if(!client_normal(cur)) \ - continue; \ - if(screen_desktop != cur->desktop && cur->desktop != DESKTOP_ALL) \ + if(c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL && \ + c->desktop != DESKTOP_ALL) \ continue; \ if(cur->iconic) \ continue;