mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-17 06:59:43 -05:00
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:
parent
8898f3199a
commit
f6168c2afe
3 changed files with 4 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue