qt: fix X11 regressions
aims to replace !5319 (closed) as discussed from !5319 (comment 438800)
some patches have been cherry picked from this MR
aims to replace !5319 (closed) as discussed from !5319 (comment 438800)
some patches have been cherry picked from this MR
VideoLAN code repository instance