0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-10-04 23:39:38 +00:00
Files
termux-packages/packages/python-xlib/Xlib-support-unix_connect.py.patch
2023-03-26 22:45:14 +09:00

12 lines
372 B
Diff

--- a/Xlib/support/unix_connect.py
+++ b/Xlib/support/unix_connect.py
@@ -96,7 +96,7 @@
# Unix socket.
else:
- address = '/tmp/.X11-unix/X%d' % dno
+ address = '@TERMUX_PREFIX@/tmp/.X11-unix/X%d' % dno
if not os.path.exists(address):
# Use abstract address.
address = '\0' + address