all repos — openbox @ 44404518c3997c33758f9ed8dad57585e041454f

openbox fork - make it a bit more like ryudo

optimization
Dana Jansens danakj@orodu.net
commit

44404518c3997c33758f9ed8dad57585e041454f

parent

e384e8a42e933fd75fcb57d6a575b9903e55ebde

1 files changed, 2 insertions(+), 2 deletions(-)

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

@@ -1549,7 +1549,7 @@ if (!data->sendtodir.inter.any.interactive ||

!data->sendtodir.inter.final || data->sendtodir.inter.cancel) { - screen_set_desktop(d, TRUE); + if (d != screen_desktop) screen_set_desktop(d, TRUE); } }

@@ -1570,7 +1570,7 @@ !data->sendtodir.inter.final ||

data->sendtodir.inter.cancel) { client_set_desktop(c, d, data->sendtodir.follow); - if (data->sendtodir.follow) + if (data->sendtodir.follow && d != screen_desktop) screen_set_desktop(d, TRUE); } }