aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/input/seat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 9dfb0714..fb03b609 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -56,6 +56,7 @@ struct sway_seat {
// Operations (drag and resize)
enum {
OP_NONE,
+ OP_MOUSEDOWN,
OP_MOVE,
OP_RESIZE_FLOATING,
OP_RESIZE_TILING,
@@ -157,6 +158,9 @@ bool seat_is_input_allowed(struct sway_seat *seat, struct wlr_surface *surface);
void drag_icon_update_position(struct sway_drag_icon *icon);
+void seat_begin_mousedown(struct sway_seat *seat, struct sway_container *con,
+ uint32_t button, double sx, double sy);
+
void seat_begin_move(struct sway_seat *seat, struct sway_container *con,
uint32_t button);