From a6d41254c90c1471326e5df94b939a12844d9be6 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 30 Jan 2019 10:42:31 -0500 Subject: Add pointer_constraint command --- include/sway/commands.h | 1 + include/sway/config.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/sway/commands.h b/include/sway/commands.h index 7672a3fd..2877c370 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -153,6 +153,7 @@ sway_cmd cmd_new_window; sway_cmd cmd_no_focus; sway_cmd cmd_output; sway_cmd cmd_permit; +sway_cmd cmd_pointer_constraint; sway_cmd cmd_popup_during_fullscreen; sway_cmd cmd_reject; sway_cmd cmd_reload; diff --git a/include/sway/config.h b/include/sway/config.h index d5467a56..e63b9895 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -143,6 +143,7 @@ struct seat_config { int fallback; // -1 means not set list_t *attachments; // list of seat_attachment configs int hide_cursor_timeout; + bool allow_constrain; }; enum config_dpms { -- cgit v1.2.3