Skip to content
Commit 37aef0c0 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Take cursor surface offset into account

From the spec

    On surface.attach requests to the pointer surface, hotspot_x
    and hotspot_y are decremented by the x and y parameters
    passed to the request. Attach must be confirmed by
    wl_surface.commit as usual.

In practice, I don't think it matters that much as most toolkits use
wl_pointer.set_cursor to change the hotspot.
parent 1541e353
Pipeline #397000 passed with stage
in 15 minutes and 34 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment