From eec5c070defaf263749798c451153e91a2d05b61 Mon Sep 17 00:00:00 2001 From: Zuki Air Date: Thu, 7 Aug 2025 13:22:05 +0100 Subject: [PATCH] riverctl patch: remove unused wrong comment --- patches/riverctl/riverctl.patch | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/patches/riverctl/riverctl.patch b/patches/riverctl/riverctl.patch index 643fd1a..ab93018 100644 --- a/patches/riverctl/riverctl.patch +++ b/patches/riverctl/riverctl.patch @@ -1,22 +1,17 @@ -From 692cf030859e2ab663a2883e005835f8424dfdec Mon Sep 17 00:00:00 2001 +From 2cb4d057e471059f1ad5bc9911ce055c55f67cf4 Mon Sep 17 00:00:00 2001 From: Zuki Air -Date: Sun, 27 Jul 2025 11:30:32 +0100 -Subject: [PATCH] river-ctl patch +Date: Thu, 7 Aug 2025 13:19:59 +0100 +Subject: [PATCH] riverctl patch -remove func argument and use the root argument instead - -improve uint error handling - -fix bug --- .gitignore | 1 + Makefile | 22 +- config.def.h | 36 +- - dwl.c | 48 +- + dwl.c | 47 +- dwlctl.c | 132 +++++ protocols/river-control-unstable-v1.xml | 85 +++ river-control.h | 753 ++++++++++++++++++++++++ - 7 files changed, 1055 insertions(+), 22 deletions(-) + 7 files changed, 1054 insertions(+), 22 deletions(-) create mode 100644 dwlctl.c create mode 100644 protocols/river-control-unstable-v1.xml create mode 100644 river-control.h @@ -148,7 +143,7 @@ index 95c2afa..72afbd6 100644 CHVT(1), CHVT(2), CHVT(3), CHVT(4), CHVT(5), CHVT(6), CHVT(7), CHVT(8), CHVT(9), CHVT(10), CHVT(11), CHVT(12), diff --git a/dwl.c b/dwl.c -index 12f441e..366b8bf 100644 +index 12f441e..a064dcf 100644 --- a/dwl.c +++ b/dwl.c @@ -145,7 +145,7 @@ typedef struct { @@ -235,17 +230,16 @@ index 12f441e..366b8bf 100644 return 0; } -@@ -2645,6 +2668,9 @@ setup(void) +@@ -2645,6 +2668,8 @@ setup(void) wl_signal_add(&output_mgr->events.apply, &output_mgr_apply); wl_signal_add(&output_mgr->events.test, &output_mgr_test); -+ // river_control_v1 = river_control_unstable_v1_create(dpy, 1); + wl_global_create(dpy, &zriver_control_v1_interface, 1, NULL, zriver_control_handle_bind); + /* Make sure XWayland clients don't connect to the parent X server, * e.g when running in the x11 backend or the wayland backend and the * compositor has Xwayland support */ -@@ -3187,6 +3213,8 @@ main(int argc, char *argv[]) +@@ -3187,6 +3212,8 @@ main(int argc, char *argv[]) { char *startup_cmd = NULL; int c;