projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e384e8a
)
optimization
author
Dana Jansens
<danakj@orodu.net>
Wed, 9 May 2007 04:18:00 +0000
(
04:18
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 9 May 2007 04:18:00 +0000
(
04:18
+0000)
openbox/action.c
patch
|
blob
|
history
diff --git
a/openbox/action.c
b/openbox/action.c
index
4573a86
..
0cf233a
100644
(file)
--- a/
openbox/action.c
+++ b/
openbox/action.c
@@
-1549,7
+1549,7
@@
void action_desktop_dir(union ActionData *data)
!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
@@
void action_send_to_desktop_dir(union ActionData *data)
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);
}
}