version 1.2, 2009/07/13 23:11:35 |
version 1.3, 2009/07/19 13:21:40 |
|
|
{ |
{ |
struct cmd_target_data *data = self->data; |
struct cmd_target_data *data = self->data; |
struct winlink *wl; |
struct winlink *wl; |
|
u_int layout; |
|
|
if ((wl = cmd_find_window(ctx, data->target, NULL)) == NULL) |
if ((wl = cmd_find_window(ctx, data->target, NULL)) == NULL) |
return (-1); |
return (-1); |
|
|
layout_previous(wl->window); |
layout = layout_set_previous(wl->window); |
ctx->info(ctx, "layout now: %s", layout_name(wl->window)); |
ctx->info(ctx, "arranging in: %s", layout_set_name(layout)); |
|
|
return (0); |
return (0); |
} |
} |