mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 06:18:57 +00:00
12 lines
513 B
Diff
12 lines
513 B
Diff
--- a/src/parse_display/connect_instruction.rs
|
|
+++ b/src/parse_display/connect_instruction.rs
|
|
@@ -39,7 +39,7 @@
|
|
targets.push(ConnectAddress::Hostname(host, TCP_PORT_BASE + display));
|
|
} else {
|
|
if protocol.is_none() || protocol.as_deref() == Some("unix") {
|
|
- let file_name = format!("/tmp/.X11-unix/X{}", display);
|
|
+ let file_name = format!("@TERMUX_PREFIX@/tmp/.X11-unix/X{}", display);
|
|
targets.push(ConnectAddress::Socket(file_name.into()));
|
|
}
|
|
|