mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-15 18:18:07 +02:00
The drm compositor always creates a 64x64 bo for the cursor image regardless of the size of the actual cursor. When the fade animation kicks in it disables the hardware cursor so that it is rendered as a regular surface. This surface is rendered to a 32x32 region but using a 64x64 texture so the cursor gets scaled down. Fix this by making create_cursor_image return the actual size of the image created to the compositor. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| compositor-drm.c | ||
| compositor-openwfd.c | ||
| compositor-wayland.c | ||
| compositor-x11.c | ||
| compositor.c | ||
| compositor.h | ||
| evdev.c | ||
| image-loader.c | ||
| Makefile.am | ||
| meego-tablet-shell.c | ||
| screenshooter.c | ||
| shell.c | ||
| switcher.c | ||
| tty.c | ||
| xserver-launcher.c | ||