From 4829f1c26a521a4ef6659d91505112cc0be8d237 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Mon, 28 Oct 2019 18:26:00 -0600 Subject: Implement input map_to_region command --- include/sway/commands.h | 1 + include/sway/config.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include/sway') diff --git a/include/sway/commands.h b/include/sway/commands.h index 7ff3b651..d994ae9b 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -246,6 +246,7 @@ sway_cmd input_cmd_events; sway_cmd input_cmd_left_handed; sway_cmd input_cmd_map_from_region; sway_cmd input_cmd_map_to_output; +sway_cmd input_cmd_map_to_region; sway_cmd input_cmd_middle_emulation; sway_cmd input_cmd_natural_scroll; sway_cmd input_cmd_pointer_accel; diff --git a/include/sway/config.h b/include/sway/config.h index 8c93c20d..0a010c6d 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -148,6 +148,7 @@ struct input_config { struct input_config_mapped_from_region *mapped_from_region; char *mapped_to_output; + struct wlr_box *mapped_to_region; bool capturable; struct wlr_box region; -- cgit v1.2.3