From 10f79f4daea0cf4e904a9f85783cd40e0bfb8af5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 2 Jun 2007 00:05:06 +0000 Subject: [PATCH] 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 --- openbox/client.c | 5 ++--- 1 file 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; -- 2.39.2