Skip to content
Snippets Groups Projects
Commit 9ab81968 authored by Mark Bolhuis's avatar Mark Bolhuis Committed by Simon Ser
Browse files

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 or zxdg_output_v1.done event is
emitted [1].

Also no wl_output.done event is emitted when version 2 or lower of
zxdg_output_v1 is bound to.

Add a version check to output_manager_handle_get_xdg_output so that no
wl_output.done event is emitted when using version 1 of wl_output and
version 2 or lower of zxdg_output_v1.

[1]: wayland/wayland-protocols#81
parent 346e5242
No related branches found
No related tags found
No related merge requests found
Pipeline #668457 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment