version 1.28, 2015/09/17 14:11:55 |
version 1.29, 2015/10/27 15:58:42 |
|
|
layout_init(w, wp); |
layout_init(w, wp); |
|
|
if (idx == -1) |
if (idx == -1) |
idx = -1 - options_get_number(&dst_s->options, "base-index"); |
idx = -1 - options_get_number(dst_s->options, "base-index"); |
wl = session_attach(dst_s, w, idx, &cause); /* can't fail */ |
wl = session_attach(dst_s, w, idx, &cause); /* can't fail */ |
if (!args_has(self->args, 'd')) |
if (!args_has(self->args, 'd')) |
session_select(dst_s, wl->idx); |
session_select(dst_s, wl->idx); |