diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-15 08:34:35 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-11-15 08:34:48 -0500 |
commit | 12758a00a2d388b050386f017a3a273c1302e648 (patch) | |
tree | e912ea57359dc3f22b3ad7e33b7520728f273552 /rootston/output.c | |
parent | ac4841ba37aee8c0d661c44f2de2fd6ed5d38086 (diff) |
rootston: touch to focus
Diffstat (limited to 'rootston/output.c')
-rw-r--r-- | rootston/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/output.c b/rootston/output.c index 0b13a959..6c8f2519 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -209,8 +209,8 @@ static void output_frame_notify(struct wl_listener *listener, void *data) { struct wlr_touch_point *point = wlr_seat_touch_get_point(seat->seat, drag_icon->touch_id); if (point) { - icon_x = seat->touch_grab_x + drag_icon->sx; - icon_y = seat->touch_grab_y + drag_icon->sy; + icon_x = seat->touch_x + drag_icon->sx; + icon_y = seat->touch_y + drag_icon->sy; render_surface(icon, desktop, wlr_output, &now, icon_x, icon_y, 0); } } |