mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 06:05:58 +01:00
backend/drm: drop no-op shortcut
Since e5fc8cd4c7
("output: trigger frame/present events on all
commits on enabled output"), any commit on an enabled output is
supposed to trigger frame/present events.
The DRM backend was skipping the commit completely for no-op
commits. Stop doing so.
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3719
This commit is contained in:
parent
7bf6c1fc6c
commit
717ded9bb0
1 changed files with 0 additions and 5 deletions
|
@ -692,11 +692,6 @@ bool drm_connector_commit_state(struct wlr_drm_connector *conn,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((base->committed & COMMIT_OUTPUT_STATE) == 0) {
|
|
||||||
// This commit doesn't change the KMS state
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
struct wlr_drm_connector_state pending = {0};
|
struct wlr_drm_connector_state pending = {0};
|
||||||
drm_connector_state_init(&pending, conn, base);
|
drm_connector_state_init(&pending, conn, base);
|
||||||
|
|
Loading…
Reference in a new issue