mirror of
https://github.com/swaywm/sway.git
synced 2026-03-18 05:34:20 -04:00
view interface
This commit is contained in:
parent
1156523ccf
commit
0e3eae4baa
8 changed files with 88 additions and 23 deletions
|
|
@ -15,8 +15,8 @@ struct cmd_results *cmd_kill(int argc, char **argv) {
|
|||
struct sway_view *view =
|
||||
config->handler_context.current_container->sway_view;
|
||||
|
||||
if (view && view->iface.close) {
|
||||
view->iface.close(view);
|
||||
if (view) {
|
||||
view_close(view);
|
||||
}
|
||||
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue