Skip to content
Commit a8a34818 authored by Matthias Clasen's avatar Matthias Clasen Committed by Jonas Ådahl
Browse files

wayland: Don't overwrite surface offsets

The intention when the offset request was added to protocol was
that the attach request in a new enough protocol version should
require dx/dy to be zero, but ignore them otherwise.

The current code checks for 0, but then overwrites the existing
dx/dy with it, which renders an earlier wl_surface_offset() call
ineffective.

Fixes: #2622
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2843>


(cherry picked from commit ea373cb0)
parent a63755bd
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