diff options
author | emersion <contact@emersion.fr> | 2017-11-19 22:28:51 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-11-19 22:28:51 +0100 |
commit | 7904b625f0c6a8cef684d60ba136de1ba48e848e (patch) | |
tree | 3d7001509a6229e1b17a0f4c26960e720857c8a9 /include/rootston/seat.h | |
parent | 7375931686e6a58c08a7727ce2f5d88e0be9adfa (diff) | |
parent | fae8d6289a470b8abcf36a5f4b0030ef504caf0b (diff) |
Merge branch 'master' into laggy-move-resize
Diffstat (limited to 'include/rootston/seat.h')
-rw-r--r-- | include/rootston/seat.h | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h index bef515a4..dad8bbc4 100644 --- a/include/rootston/seat.h +++ b/include/rootston/seat.h @@ -4,24 +4,15 @@ #include "rootston/input.h" #include "rootston/keyboard.h" -struct roots_drag_icon { - struct wlr_surface *surface; - struct wl_list link; // roots_seat::drag_icons - bool mapped; - - int32_t sx; - int32_t sy; - - struct wl_listener surface_destroy; - struct wl_listener surface_commit; -}; - struct roots_seat { struct roots_input *input; struct wlr_seat *seat; struct roots_cursor *cursor; struct wl_list link; - struct wl_list drag_icons; + + // coordinates of the first touch point if it exists + int32_t touch_id; + double touch_x, touch_y; struct roots_view *focus; @@ -43,13 +34,6 @@ struct roots_touch { struct wl_list link; }; -struct roots_touch_point { - struct roots_touch *device; - int32_t slot; - double x, y; - struct wl_list link; -}; - struct roots_tablet_tool { struct roots_seat *seat; struct wlr_input_device *device; |