diff --git a/src/screencast/wlr_screencast.c b/src/screencast/wlr_screencast.c index 960523d..0dce807 100644 --- a/src/screencast/wlr_screencast.c +++ b/src/screencast/wlr_screencast.c @@ -523,7 +523,7 @@ struct xdpw_share xdpw_wlr_chooser(struct xdpw_screencast_context *ctx) { char cmd[128] = "WAYLAND_DISPLAY="; strcat(cmd, WAYLAND_DISPLAY); - strcat(cmd, " hyprland-share-picker"); + strcat(cmd, " QT_QPA_PLATFORM=wayland hyprland-share-picker"); fp = popen(cmd, "r"); if (fp == NULL) {