]> Dogcows Code - chaz/openbox/commitdiff
when finding edges and we're omnipresent only use windows on screen
authorDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 00:12:37 +0000 (00:12 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 2 Jun 2007 00:12:37 +0000 (00:12 +0000)
openbox/client.c

index 973cbc7980c0bc26a5736a49728482a5aa89e42f..a338df16b956c1d50ed621aa48c1a8564f1841ba 100644 (file)
@@ -3876,12 +3876,12 @@ ObClient *client_search_transient(ObClient *self, ObClient *search)
 }
 
 #define WANT_EDGE(cur, c) \
-            if(cur == c)                                                      \
+            if (cur == c)                                                     \
                 continue;                                                     \
-            if(c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL &&   \
-               c->desktop != DESKTOP_ALL)                                     \
+            if (c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL &&  \
+                cur->desktop != screen_desktop)                               \
                 continue;                                                     \
-            if(cur->iconic)                                                   \
+            if (cur->iconic)                                                  \
                 continue;
 
 #define HIT_EDGE(my_edge_start, my_edge_end, his_edge_start, his_edge_end) \
This page took 0.028558 seconds and 4 git commands to generate.