mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-27 03:49:49 +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;
|
||||
}
|
||||
|
||||
if ((base->committed & COMMIT_OUTPUT_STATE) == 0) {
|
||||
// This commit doesn't change the KMS state
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ok = false;
|
||||
struct wlr_drm_connector_state pending = {0};
|
||||
drm_connector_state_init(&pending, conn, base);
|
||||
|
|
Loading…
Reference in a new issue