optimization
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
openbox/action.c
→
openbox/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); } }