termux-packages/x11-packages/openbox/openbox-termux-compat.patch
2022-04-18 14:08:05 +05:30

15 lines
713 B
Diff

diff -uNr openbox-3.6.1/tools/gdm-control/gdm-control.c openbox-3.6.1.mod/tools/gdm-control/gdm-control.c
--- openbox-3.6.1/tools/gdm-control/gdm-control.c 2014-11-05 17:19:42.000000000 +0200
+++ openbox-3.6.1.mod/tools/gdm-control/gdm-control.c 2017-11-27 11:43:38.691355227 +0200
@@ -21,8 +21,8 @@
SWITCHUSER
} Action;
-#define GDM_PROTOCOL_SOCKET_PATH1 "/var/run/gdm_socket"
-#define GDM_PROTOCOL_SOCKET_PATH2 "/tmp/.gdm_socket"
+#define GDM_PROTOCOL_SOCKET_PATH1 "/data/data/com.termux/files/usr/var/run/gdm_socket"
+#define GDM_PROTOCOL_SOCKET_PATH2 "/data/data/com.termux/files/usr/tmp/.gdm_socket"
#define GDM_PROTOCOL_MSG_CLOSE "CLOSE"
#define GDM_PROTOCOL_MSG_VERSION "VERSION"