version 1.17, 2013/01/17 00:11:22 |
version 1.18, 2013/01/30 17:00:17 |
|
|
{ |
{ |
struct args *args = self->args; |
struct args *args = self->args; |
struct winlink *wl; |
struct winlink *wl; |
struct window *w; |
|
const char *layoutname; |
const char *layoutname; |
int next, previous, layout; |
int next, previous, layout; |
|
|
if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL) |
if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL) |
return (CMD_RETURN_ERROR); |
return (CMD_RETURN_ERROR); |
w = wl->window; |
|
|
|
next = self->entry == &cmd_next_layout_entry; |
next = self->entry == &cmd_next_layout_entry; |
if (args_has(self->args, 'n')) |
if (args_has(self->args, 'n')) |