Skip to content

Commit 3248d15

Browse files
author
pengwenhao
committed
fix: examples wlr-randr scale not work
drm is pending, commit will fail, set scale to become invalid. do not commit and wait until the next frame to complete the scaling settings. Signed-off-by: pengwenhao <pengwenhao@uniontech.com>
1 parent a0d7114 commit 3248d15

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

examples/tinywl/Main.qml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,6 @@ Item {
119119
outputDelegate.y = states[i].y
120120
}
121121
}
122-
123-
if (onlyTest) {
124-
ok &= output.test()
125-
output.rollback()
126-
} else {
127-
ok &= output.commit()
128-
}
129122
}
130123
outputManagerV1.sendResult(config, ok)
131124
}

0 commit comments

Comments
 (0)