Merge branch 'master' into seat-views

This commit is contained in:
emersion 2017-11-19 17:56:26 +01:00
commit 76e8e1a6ad
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
11 changed files with 125 additions and 215 deletions

View file

@ -4,25 +4,10 @@
#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;
bool is_pointer;
int32_t touch_id;
int32_t sx, 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 drag_icons;
struct wl_list link;
// coordinates of the first touch point if it exists