forked from mpv-player/mpv
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wayland: drop buffer scale for cursor as well
Could have been done in e32554c, but I skipped it there. However, using viewporter is actually a win here. There's been a longstanding issue in upstream wayland* exactly related to this. I even forgot about cd7a7a1 which was made for this exactly problem and explains the random spawn_cursor calls. Anyways, just not using buffer scale and instead scaling the cursor surface via viewporter works just fine and completely sidesteps this problem. This means we can drop the random looking spawn_cursor calls and some additional checks. *: https://gitlab.freedesktop.org/wayland/wayland/-/issues/194
- Loading branch information
1 parent
34c0a67
commit f0a6578
Showing
2 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters