Skip to content

Commit

Permalink
x11: Fix XAUTHORITY handling for wildcard DISPLAY
Browse files Browse the repository at this point in the history
Apparently GNOME does this (empty display field)...

Signed-off-by: Asahi Lina <[email protected]>
  • Loading branch information
asahilina authored and slp committed Dec 16, 2024
1 parent 37b0a2b commit 13b10f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/muvm/src/guest/x11.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ where
}

// Check for the correct host display
if display != host_display.as_bytes() {
if !display.is_empty() && display != host_display.as_bytes() {
continue;
}

Expand Down

0 comments on commit 13b10f7

Please sign in to comment.