mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
backend/drm: Add support for hotplug_mode_update connector property
This connector property is used by virtual graphics drivers to indicate that a virtual display has changed its list of supported resolutions and updated its preferred mode. In the event of a hotplug the connector is considered to be "re-plugged" without disconnecting first. This allows virtual displays to be resized automatically when their window size changes. Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
This commit is contained in:
parent
3fdbfb0be8
commit
a8611fdfb2
3 changed files with 10 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ struct wlr_drm_connector_props {
|
|||
uint32_t panel_orientation; // not guaranteed to exist
|
||||
uint32_t content_type; // not guaranteed to exist
|
||||
uint32_t max_bpc; // not guaranteed to exist
|
||||
uint32_t hotplug_mode_update; // not guaranteed to exist, VMs only
|
||||
|
||||
// atomic-modesetting only
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue