wayland: Global object depedency tracking not used for primary_selection
Following up on !2630 (comment 1066879):
4e9be395 introduced global object dependency tracking, however it is not used for optional protocols such as zwp_primary_selection
and gtk_primary_selection
. Those rely on being announced before wl_seat
, which on some compositors may not be the case (KWin).
We probably should extend the dependency tracking for optional globals or defer seat creation until all globals are handled.
see also https://bugs.kde.org/show_bug.cgi?id=422426
cc @jadahl
Edited by Robert Mader