mirror of
https://github.com/swaywm/sway.git
synced 2026-03-18 05:34:20 -04:00
rename container functions
This commit is contained in:
parent
83d09cf594
commit
b90099b4b7
23 changed files with 290 additions and 282 deletions
|
|
@ -6,7 +6,7 @@
|
|||
#include "sway/commands.h"
|
||||
|
||||
struct cmd_results *cmd_kill(int argc, char **argv) {
|
||||
enum swayc_types type = config->handler_context.current_container->type;
|
||||
enum sway_container_type type = config->handler_context.current_container->type;
|
||||
if (type != C_VIEW && type != C_CONTAINER) {
|
||||
return cmd_results_new(CMD_INVALID, NULL,
|
||||
"Can only kill views and containers with this command");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue