seat: be explicit about output- and layout coordinates

This commit follows up on 95b7782c72
This commit is contained in:
Jente Hidskes 2020-01-05 13:13:32 +01:00
parent 530b32d496
commit 651d579c30
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
3 changed files with 16 additions and 16 deletions

6
seat.h
View file

@ -33,8 +33,8 @@ struct cg_seat {
struct wl_listener cursor_frame;
int32_t touch_id;
double touch_x;
double touch_y;
double touch_lx;
double touch_ly;
struct wl_listener touch_down;
struct wl_listener touch_up;
struct wl_listener touch_motion;
@ -80,7 +80,7 @@ struct cg_drag_icon {
struct wlr_drag_icon *wlr_drag_icon;
/* The drag icon has a position in layout coordinates. */
double x, y;
double lx, ly;
struct wl_listener destroy;
};