change which windows are used for finding edges. its the same as window resistance...
authorDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 00:05:06 +0000 (00:05 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 00:05:06 +0000 (00:05 +0000)
openbox/client.c

index 474789c..973cbc7 100644 (file)
@@ -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;