weston/clients
Derek Foreman f079f43658 clients/window: Fix animated cursors
Since commit 992ee045f1 we create a new surface when we update the cursor
image. This broke animated cursors by discarding any existing frame
callback used for timing, and moving the setup for frame callbacks to
after the commit on the pointer surface.

To fix this we need another surface commit for the frame callbacks, but
this alone is not enough to fix the regression, as a lingering kludge
intended to fix problems when reusing the pointer surface is no longer
working as intended.

Since we no longer re-use the same surface, we can delete the old surface
on pointer exit, along with any callbacks set on it. Then a frame callback
will be recreated naturally. This lets us remove the now broken kludge
from the past and restore animated cursor functionality.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
2022-01-20 10:23:59 +00:00
..
calibrator.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
clickdot.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
cliptest.c clients: don't use deprecated fontconfig aliases 2021-11-18 10:57:16 +02:00
confine.c option-parser: Make bools boolean 2019-11-28 19:24:13 +00:00
content_protection.c clients: don't use deprecated fontconfig aliases 2021-11-18 10:57:16 +02:00
desktop-shell.c clients/desktop-shell: Add 24H support to the clock format. 2021-07-31 15:53:56 +00:00
dnd.c Fix indentation all through the project 2021-07-31 15:28:20 +00:00
editor.c option-parser: Make bools boolean 2019-11-28 19:24:13 +00:00
eventdemo.c option-parser: Make bools boolean 2019-11-28 19:24:13 +00:00
flower.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
fullscreen.c clients: don't use deprecated fontconfig aliases 2021-11-18 10:57:16 +02:00
gears.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
image.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
ivi-shell-user-interface.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
keyboard.c clients: don't use deprecated fontconfig aliases 2021-11-18 10:57:16 +02:00
meson.build clients/meson:build: Conditionally build dmabuf-feedback client 2022-01-12 13:39:04 +00:00
multi-resource.c multi-resource: Convert to xdg-shell 2021-10-14 09:28:04 +00:00
nested-client.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
nested.c option-parser: Make bools boolean 2019-11-28 19:24:13 +00:00
presentation-shm.c clients/presentation-shm: use xdg_shell instead of wl_shell 2019-06-27 17:44:19 +00:00
resizor.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
scaler.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
screenshot.c screenshooter: rename some functions to avoid conflicts 2020-10-27 12:19:39 +00:00
simple-damage.c clients/simple-damage,simple-shm: Use calloc instead of malloc 2021-12-09 18:06:03 +02:00
simple-dmabuf-egl.c clients/simple-dmabuf-egl: don't add INVALID to modifier list 2021-05-17 11:59:58 +00:00
simple-dmabuf-feedback.c clients/simple-dmabuf-feedback: pretty print format/modifier pairs 2021-12-07 11:55:40 -03:00
simple-dmabuf-v4l.c Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
simple-egl.c simple-egl: Don't set-up alpha for opaque/fullscreen 2022-01-12 13:35:31 +02:00
simple-im.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
simple-shm.c clients/simple-damage,simple-shm: Use calloc instead of malloc 2021-12-09 18:06:03 +02:00
simple-touch.c simple-touch: Exit on xdg_toplevel::close 2021-10-15 16:52:08 +00:00
smoke.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
stacking.c clients: don't use deprecated fontconfig aliases 2021-11-18 10:57:16 +02:00
subsurfaces.c option-parser: Make bools boolean 2019-11-28 19:24:13 +00:00
terminal.c clients: don't use deprecated fontconfig aliases 2021-11-18 10:57:16 +02:00
touch-calibrator.c clients: Fix/resolved doxygen warnings 2019-06-25 14:05:54 +00:00
transformed.c Redefine output rotations 2020-02-27 11:08:48 +00:00
weston-debug.c weston-debug: Handle destruction of stream description 2021-06-01 13:55:33 +03:00
weston-info.c clients: deprecate weston-info 2020-08-14 10:31:49 +00:00
window.c clients/window: Fix animated cursors 2022-01-20 10:23:59 +00:00
window.h clients/window: drop support for rgb565 2019-12-11 19:28:30 +00:00