types/wlr_xdg_output_v1: Fix wl_output.done bug.
If the client binds to version 3 of zxdg_output_v1 and version 1 of wl_output no wl_output.done event is emited 1.
Add a version check to output_manager_handle_get_xdg_output so that no event is emited and prevents clients bound to version 1 of wl_output from crashing.
Merge request reports
Activity
added 1 commit
- ef8a173c - types/wlr_xdg_output_v1: Fix wl_output.done bug.
added 1 commit
- 746d84d9 - types/wlr_xdg_output_v1: Fix wl_output.done bug.
From my interpretation of the spec this should be correct behavior:
wl xdg wl wl.done xdg.done xdg wl.done 1 1 no yes no 1 2 no yes no 1 3 no no no 2 1 yes yes no 2 2 yes yes no 2 3 yes no yes EDIT: I did some testing on Mutter and that has the same behavior.
Edited by Mark Bolhuisadded 22 commits
-
746d84d9...346e5242 - 21 commits from branch
wlroots:master
- 9ab81968 - types/wlr_xdg_output_v1: Fix wl_output.done bug.
-
746d84d9...346e5242 - 21 commits from branch
enabled an automatic merge when the pipeline for 9ab81968 succeeds