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;