mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 22:35:59 +01:00
force wayland platform for qt in invoking picker
This commit is contained in:
parent
bd91bd0d4e
commit
cea7c28bae
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ struct xdpw_share xdpw_wlr_chooser(struct xdpw_screencast_context *ctx) {
|
||||||
|
|
||||||
char cmd[128] = "WAYLAND_DISPLAY=";
|
char cmd[128] = "WAYLAND_DISPLAY=";
|
||||||
strcat(cmd, WAYLAND_DISPLAY);
|
strcat(cmd, WAYLAND_DISPLAY);
|
||||||
strcat(cmd, " hyprland-share-picker");
|
strcat(cmd, " QT_QPA_PLATFORM=wayland hyprland-share-picker");
|
||||||
|
|
||||||
fp = popen(cmd, "r");
|
fp = popen(cmd, "r");
|
||||||
if (fp == NULL) {
|
if (fp == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue