mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
compositor/direct_wayland: don't warn about connector removals
The connector being withdrawn has no effect on active leases, printing a warning is unnecessary.
This commit is contained in:
parent
afa7f7ade9
commit
94407f6679
|
@ -145,6 +145,7 @@ _lease_finished(void *data, struct wp_drm_lease_v1 *wp_drm_lease_v1)
|
||||||
|
|
||||||
COMP_DEBUG(lease->w->base.base.c, "Lease has been closed");
|
COMP_DEBUG(lease->w->base.base.c, "Lease has been closed");
|
||||||
lease->finished = true;
|
lease->finished = true;
|
||||||
|
/* TODO handle graceful shutdown if lease is currently used */
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct wp_drm_lease_v1_listener lease_listener = {
|
static const struct wp_drm_lease_v1_listener lease_listener = {
|
||||||
|
@ -321,9 +322,7 @@ static void
|
||||||
_lease_connector_withdrawn(void *data, struct wp_drm_lease_connector_v1 *wp_drm_lease_connector_v1)
|
_lease_connector_withdrawn(void *data, struct wp_drm_lease_connector_v1 *wp_drm_lease_connector_v1)
|
||||||
{
|
{
|
||||||
struct direct_wayland_lease_connector *conn = data;
|
struct direct_wayland_lease_connector *conn = data;
|
||||||
COMP_ERROR(conn->w->base.base.c, "Connector %s has been withdrawn by the compositor", conn->name);
|
COMP_DEBUG(conn->w->base.base.c, "Connector %s has been withdrawn by the compositor", conn->name);
|
||||||
|
|
||||||
/* TODO: handle graceful shutdown, remove the connector from the device */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct wp_drm_lease_connector_v1_listener lease_connector_listener = {
|
static const struct wp_drm_lease_connector_v1_listener lease_connector_listener = {
|
||||||
|
|
Loading…
Reference in a new issue