all repos — openbox @ 8ba619d5f15742d08850fe403e99e472ac5cf790

openbox fork - make it a bit more like ryudo

finding edges and switching directional focus was broken from omnipresent windows. changed c->desktop to screen_desktop seems to work fine so far.
Mikael Magnusson mikachu@comhem.se
commit

8ba619d5f15742d08850fe403e99e472ac5cf790

parent

35c5a62ca1845e028dec727aede156765ee2ab2d

1 files changed, 8 insertions(+), 5 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -2897,7 +2897,10 @@ if(cur == c)

continue; if (!client_normal(cur)) continue; - if(c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL) + /* using c->desktop instead of screen_desktop doesn't work if the + * current window was omnipresent, hope this doesn't have any other + * side effects */ + if(screen_desktop != cur->desktop && cur->desktop != DESKTOP_ALL) continue; if(cur->iconic) continue;

@@ -3144,7 +3147,7 @@ if(cur == c)

continue; if(!client_normal(cur)) continue; - if(c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL) + if(screen_desktop != cur->desktop && cur->desktop != DESKTOP_ALL) continue; if(cur->iconic) continue;

@@ -3185,7 +3188,7 @@ if(cur == c)

continue; if(!client_normal(cur)) continue; - if(c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL) + if(screen_desktop != cur->desktop && cur->desktop != DESKTOP_ALL) continue; if(cur->iconic) continue;

@@ -3227,7 +3230,7 @@ if(cur == c)

continue; if(!client_normal(cur)) continue; - if(c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL) + if(screen_desktop != cur->desktop && cur->desktop != DESKTOP_ALL) continue; if(cur->iconic) continue;

@@ -3269,7 +3272,7 @@ if(cur == c)

continue; if(!client_normal(cur)) continue; - if(c->desktop != cur->desktop && cur->desktop != DESKTOP_ALL) + if(screen_desktop != cur->desktop && cur->desktop != DESKTOP_ALL) continue; if(cur->iconic) continue;