version 1.51, 2017/04/21 20:26:34 |
version 1.52, 2017/04/21 20:34:05 |
|
|
shared = xcalloc(1, sizeof *shared); |
shared = xcalloc(1, sizeof *shared); |
if (current != NULL) |
if (current != NULL) |
cmd_find_copy_state(&shared->current, current); |
cmd_find_copy_state(&shared->current, current); |
|
else |
|
cmd_find_clear_state(&shared->current, 0); |
if (m != NULL) |
if (m != NULL) |
memcpy(&shared->mouse, m, sizeof shared->mouse); |
memcpy(&shared->mouse, m, sizeof shared->mouse); |
|
|
|
|
retval = CMD_RETURN_ERROR; |
retval = CMD_RETURN_ERROR; |
goto out; |
goto out; |
} |
} |
|
|
if (item->client == NULL) |
if (item->client == NULL) |
item->client = cmd_find_client(item, NULL, 1); |
item->client = cmd_find_client(item, NULL, 1); |
|
|