diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/config.h | 4 | ||||
-rw-r--r-- | include/sway/input/cursor.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index edb5a213..bc5d5412 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -192,6 +192,7 @@ sway_cmd input_cmd_drag_lock; | |||
192 | sway_cmd input_cmd_dwt; | 192 | sway_cmd input_cmd_dwt; |
193 | sway_cmd input_cmd_events; | 193 | sway_cmd input_cmd_events; |
194 | sway_cmd input_cmd_left_handed; | 194 | sway_cmd input_cmd_left_handed; |
195 | sway_cmd input_cmd_map_to_output; | ||
195 | sway_cmd input_cmd_middle_emulation; | 196 | sway_cmd input_cmd_middle_emulation; |
196 | sway_cmd input_cmd_natural_scroll; | 197 | sway_cmd input_cmd_natural_scroll; |
197 | sway_cmd input_cmd_pointer_accel; | 198 | sway_cmd input_cmd_pointer_accel; |
diff --git a/include/sway/config.h b/include/sway/config.h index 91f772b5..ed49fbbd 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -52,7 +52,7 @@ struct sway_mode { | |||
52 | }; | 52 | }; |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * libinput options for input devices | 55 | * options for input devices |
56 | */ | 56 | */ |
57 | struct input_config { | 57 | struct input_config { |
58 | char *identifier; | 58 | char *identifier; |
@@ -75,6 +75,8 @@ struct input_config { | |||
75 | char *xkb_rules; | 75 | char *xkb_rules; |
76 | char *xkb_variant; | 76 | char *xkb_variant; |
77 | 77 | ||
78 | char *mapped_output; | ||
79 | |||
78 | bool capturable; | 80 | bool capturable; |
79 | struct wlr_box region; | 81 | struct wlr_box region; |
80 | }; | 82 | }; |
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 8f907dcd..daf7d4ee 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h | |||
@@ -8,7 +8,6 @@ struct sway_cursor { | |||
8 | struct wlr_cursor *cursor; | 8 | struct wlr_cursor *cursor; |
9 | struct wlr_xcursor_manager *xcursor_manager; | 9 | struct wlr_xcursor_manager *xcursor_manager; |
10 | 10 | ||
11 | double x, y; | ||
12 | struct wl_client *image_client; | 11 | struct wl_client *image_client; |
13 | 12 | ||
14 | struct wl_listener motion; | 13 | struct wl_listener motion; |
@@ -30,5 +29,6 @@ struct sway_cursor { | |||
30 | 29 | ||
31 | void sway_cursor_destroy(struct sway_cursor *cursor); | 30 | void sway_cursor_destroy(struct sway_cursor *cursor); |
32 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); | 31 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); |
32 | void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time); | ||
33 | 33 | ||
34 | #endif | 34 | #endif |