]> git.mdlowis.com Git - proto/labwc.git/commit
output: fix incorrect call to private wlroots function
authorJohan Malm <jgm323@gmail.com>
Tue, 15 Mar 2022 21:30:25 +0000 (21:30 +0000)
committerJohan Malm <jgm323@gmail.com>
Tue, 15 Mar 2022 21:30:25 +0000 (21:30 +0000)
commit5fd5024ca655d07d04cfb3e9c829c1764dd8ee01
tree5375d72c36b9d313fcb550a5cd60814c435345ba
parent4ee9f351eaba445158aac9aecb638f96e82656af
output: fix incorrect call to private wlroots function

Use wlr_output_test() instead of output_ensure_buffer() which is not a
public function and only compiled when linking statically to wlroots.

Also wlr_output_rollback() on failed test.

Fixes issue #273
src/output.c