i3: update patches

This commit is contained in:
Leonid Pliushch 2020-03-08 20:29:36 +02:00 committed by Yaksh Bariya
parent 8835dcafce
commit 852e246d8b
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -1,12 +1,12 @@
diff -uNr i3-4.15/i3bar/src/main.c i3-4.15.mod/i3bar/src/main.c
--- i3-4.15/i3bar/src/main.c 2018-03-10 19:29:14.000000000 +0200
+++ i3-4.15.mod/i3bar/src/main.c 2018-06-21 19:48:29.546920631 +0300
@@ -96,7 +96,7 @@
if (socket_path != NULL) {
socket_path = sstrdup(socket_path);
diff -uNr i3-4.18/i3bar/src/main.c i3-4.18.mod/i3bar/src/main.c
--- i3-4.18/i3bar/src/main.c 2020-02-17 19:27:38.000000000 +0200
+++ i3-4.18.mod/i3bar/src/main.c 2020-03-08 20:28:48.821977158 +0200
@@ -160,7 +160,7 @@
}
if (socket_path == NULL) {
- char *i3_default_sock_path = "/tmp/i3-ipc.sock";
+ char *i3_default_sock_path = "@TERMUX_PREFIX@/tmp/i3-ipc.sock";
/* Initialize the standard config to use 0 as default */
memset(&config, '\0', sizeof(config_t));
ELOG("No socket path specified, default to %s\n", i3_default_sock_path);
socket_path = sstrdup(i3_default_sock_path);
}