wayland: hook wl_proxy_get_listener avoiding QTBUG-145022 crash

Co-authored-by: Lemmy <studio@quadbyte.net>
This commit is contained in:
outfoxxed 2026-03-16 21:19:20 -07:00
parent 6705e2da77
commit 365bf16b1e
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
5 changed files with 54 additions and 1 deletions

View file

@ -10,6 +10,7 @@
#include "wlr_layershell/wlr_layershell.hpp"
#endif
void installWlProxySafeDeref(); // NOLINT(misc-use-internal-linkage)
void installPlatformMenuHook(); // NOLINT(misc-use-internal-linkage)
void installPopupPositioner(); // NOLINT(misc-use-internal-linkage)
@ -33,6 +34,7 @@ class WaylandPlugin: public QsEnginePlugin {
}
void init() override {
installWlProxySafeDeref();
installPlatformMenuHook();
installPopupPositioner();
}