Fix #1129 and remove sx, sy from wlr_drag_icon

sx, sy used to store the buffer offset of the drag surface which was
then be added (by rootston) to the drag icon position.
Buffer offsets are handled already in surface_intersect_output
(output.c) so they were added twice for dnd surfaces.
This commit is contained in:
nyorain 2018-09-07 14:48:28 +02:00
parent 8898f3199a
commit f6168c2afe
3 changed files with 4 additions and 9 deletions

View file

@ -93,8 +93,6 @@ struct wlr_drag_icon {
bool is_pointer;
int32_t touch_id;
int32_t sx, sy;
struct {
struct wl_signal map;
struct wl_signal unmap;