mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-31 07:11:32 -04:00
drm/backend: add support for cursor hotspots
Enables DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT and sets the cursor hotspots on the cursor plane so virtualized drivers can accelerate mouse movement. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3776
This commit is contained in:
parent
94c31b824c
commit
e3bd318547
4 changed files with 20 additions and 1 deletions
|
|
@ -53,6 +53,8 @@ static const struct prop_info plane_info[] = {
|
|||
{ "CRTC_Y", INDEX(crtc_y) },
|
||||
{ "FB_DAMAGE_CLIPS", INDEX(fb_damage_clips) },
|
||||
{ "FB_ID", INDEX(fb_id) },
|
||||
{ "HOTSPOT_X", INDEX(hotspot_x) },
|
||||
{ "HOTSPOT_Y", INDEX(hotspot_y) },
|
||||
{ "IN_FORMATS", INDEX(in_formats) },
|
||||
{ "SRC_H", INDEX(src_h) },
|
||||
{ "SRC_W", INDEX(src_w) },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue