Skip to content

output: reset hardware_cursor on failure

JiDe Zhang requested to merge jide/wlroots:master into master

For hardware cursor, the 'set_cursor' inteface always return true if cursor's buffer is null. If using a null cursor's buffer on startup, the cursor will is a hardware cursor, but cursor's buffer not always null, so maybe failed when set buffer to hardware cursor in future, so should always update 'output->hardware_cursor' value.

Merge request reports

Loading