commit | 3d32920f20d78dcf17a9c8927c16a3199a4e118c | [log] [tgz] |
---|---|---|
author | Tudor Brindus <me@tbrindus.ca> | Tue Jul 21 13:14:24 2020 -0400 |
committer | Tudor Brindus <me@tbrindus.ca> | Tue Jul 21 13:14:24 2020 -0400 |
tree | 99f3debada498d1341ec97368126bbc30d0b8973 | |
parent | ffd704d92f9ce76cb238a4a4c7d66076a0725f46 [diff] |
wayland: defer pointer confine creation until pointer unlock It is a protocol error to attempt to create a pointer confine (i.e. `SDL_SetWindowGrab`) while a locked pointer is active, and vice-versa. Instead of aborting due to a protocol error, this commit makes SDL gracefully downgrade locked pointers to confines when appropriate.