add kill command

This commit is contained in:
Tony Crisci 2018-01-20 14:10:11 -05:00
parent cc3c713889
commit c353e01c85
11 changed files with 77 additions and 3 deletions

View file

@ -355,6 +355,7 @@ struct sway_config {
struct {
struct input_config *input_config;
struct seat_config *seat_config;
struct sway_seat *seat;
} handler_context;
};

View file

@ -43,4 +43,7 @@ void sway_input_manager_apply_input_config(struct sway_input_manager *input,
void sway_input_manager_apply_seat_config(struct sway_input_manager *input,
struct seat_config *seat_config);
struct sway_seat *sway_input_manager_get_default_seat(
struct sway_input_manager *input);
#endif

View file

@ -92,6 +92,7 @@ struct sway_view {
void (*set_position)(struct sway_view *view,
double ox, double oy);
void (*set_activated)(struct sway_view *view, bool activated);
void (*close)(struct sway_view *view);
} iface;
// only used for unmanaged views (shell specific)