mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/drm: move cursor fields to wlr_drm_connector
Doesn't make a lot of sense to split the cursor fields between wlr_drm_plane and wlr_drm_connector. Let's just move everything to wlr_drm_connector.
This commit is contained in:
parent
2b0a1aeed5
commit
b86a0c8d8f
2 changed files with 20 additions and 27 deletions
|
|
@ -34,11 +34,6 @@ struct wlr_drm_plane {
|
|||
|
||||
struct wlr_drm_format_set formats;
|
||||
|
||||
// Only used by cursor plane
|
||||
bool cursor_enabled;
|
||||
int cursor_width, cursor_height;
|
||||
int cursor_hotspot_x, cursor_hotspot_y;
|
||||
|
||||
union wlr_drm_plane_props props;
|
||||
};
|
||||
|
||||
|
|
@ -123,7 +118,10 @@ struct wlr_drm_connector {
|
|||
|
||||
union wlr_drm_connector_props props;
|
||||
|
||||
int32_t cursor_x, cursor_y;
|
||||
bool cursor_enabled;
|
||||
int cursor_x, cursor_y;
|
||||
int cursor_width, cursor_height;
|
||||
int cursor_hotspot_x, cursor_hotspot_y;
|
||||
|
||||
drmModeCrtc *old_crtc;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue