version 1.7, 2020/04/07 13:33:00 |
version 1.8, 2020/04/13 10:59:59 |
|
|
struct format_tree *ft; |
struct format_tree *ft; |
u_int i, y; |
u_int i, y; |
|
|
ft = format_create(item->client, item, FORMAT_NONE, 0); |
ft = format_create(c, item, FORMAT_NONE, 0); |
if (cmd_find_valid_state(&pd->fs)) |
if (cmd_find_valid_state(&pd->fs)) |
format_defaults(ft, c, pd->fs.s, pd->fs.wl, pd->fs.wp); |
format_defaults(ft, c, pd->fs.s, pd->fs.wl, pd->fs.wp); |
else |
else |
|
|
|
|
if (item != NULL) { |
if (item != NULL) { |
if (pd->ictx != NULL && |
if (pd->ictx != NULL && |
item->client != NULL && |
cmdq_get_client(item) != NULL && |
item->client->session == NULL) |
cmdq_get_client(item)->session == NULL) |
item->client->retval = pd->status; |
cmdq_get_client(item)->retval = pd->status; |
cmdq_continue(item); |
cmdq_continue(item); |
} |
} |
server_client_unref(pd->c); |
server_client_unref(pd->c); |
|
|
break; |
break; |
case CMD_PARSE_SUCCESS: |
case CMD_PARSE_SUCCESS: |
if (pd->item != NULL) |
if (pd->item != NULL) |
m = &pd->item->shared->mouse; |
m = &cmdq_get_shared(pd->item)->mouse; |
else |
else |
m = NULL; |
m = NULL; |
new_item = cmdq_get_command(pr->cmdlist, fs, m, 0); |
new_item = cmdq_get_command(pr->cmdlist, fs, m, 0); |
|
|
struct format_tree *ft; |
struct format_tree *ft; |
u_int i, width = 0, tmpwidth; |
u_int i, width = 0, tmpwidth; |
|
|
ft = format_create(item->client, item, FORMAT_NONE, 0); |
ft = format_create(cmdq_get_client(item), item, FORMAT_NONE, 0); |
if (fs != NULL && cmd_find_valid_state(fs)) |
if (fs != NULL && cmd_find_valid_state(fs)) |
format_defaults(ft, c, fs->s, fs->wl, fs->wp); |
format_defaults(ft, c, fs->s, fs->wl, fs->wp); |
else |
else |