diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-02 00:05:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-02 00:05:06 +0000 |
| commit | 10f79f4daea0cf4e904a9f85783cd40e0bfb8af5 (patch) | |
| tree | d607bc9bccb3f91d4532115afcc2a7af56286807 /openbox/client.c | |
| parent | 2b28aa8c41b71d1f96d8ebf9cd72dd0c2ccd0678 (diff) | |
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
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; |
