summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-29 20:59:20 +0000
committerDana Jansens <danakj@orodu.net>2003-03-29 20:59:20 +0000
commitb6b514c47764517ef6845ddced6530538ce8d33b (patch)
tree71fa29136a9cd90b41aa29471082ece9a61f192d /openbox/action.c
parent2309520b482d8002802977a8cfcae57eb8aadd59 (diff)
rm a redundant actiondata struct
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/openbox/action.c b/openbox/action.c
index 342f0a86..6b98bcb2 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -365,17 +365,17 @@ void action_toggle_maximize_vert(union ActionData *data)
void action_send_to_desktop(union ActionData *data)
{
- if (data->sendto.c)
- if (data->sendto.desktop < screen_num_desktops ||
- data->sendto.desktop == DESKTOP_ALL)
- client_set_desktop(data->sendto.c, data->sendto.desktop, TRUE);
+ if (data->desktop.c)
+ if (data->desktop.desk < screen_num_desktops ||
+ data->desktop.desk == DESKTOP_ALL)
+ client_set_desktop(data->desktop.c, data->desktop.desk, TRUE);
}
void action_send_to_next_desktop(union ActionData *data)
{
guint d;
- if (!data->sendto.c) return;
+ if (!data->sendtonextprev.c) return;
d = screen_desktop + 1;
if (d >= screen_num_desktops) {
@@ -390,7 +390,7 @@ void action_send_to_previous_desktop(union ActionData *data)
{
guint d;
- if (!data->sendto.c) return;
+ if (!data->sendtonextprev.c) return;
d = screen_desktop - 1;
if (d >= screen_num_desktops) {