commit 8a4500d357447d06857833b788d22ebbff2fa77a
parent 6a2c3a9d4f3840d2267f95f532d93841ed2846fd
Author: cowmonk <cowmonk@based.pt>
Date: Mon, 23 Nov 2026 12:22:50 -0700
nonaturalscroll: fix
the newdevice func is actually used for real now
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/nonaturalscroll/dmw-nonaturalscroll-20261123.patch b/nonaturalscroll/dmw-nonaturalscroll-20261123.patch
@@ -12,7 +12,7 @@ index fef9c54..bfc13ba 100644
# includes and libs
INCS != ${PKG_CONFIG} --cflags ${PKGS}
diff --git i/dmw.c w/dmw.c
-index 45ce7d1..d0a4ee6 100644
+index 45ce7d1..be2bcee 100644
--- i/dmw.c
+++ w/dmw.c
@@ -47,6 +47,7 @@
@@ -23,7 +23,7 @@ index 45ce7d1..d0a4ee6 100644
#include "util.h"
-@@ -1120,6 +1121,13 @@ signalhandler(int sig, void *data)
+@@ -1120,10 +1121,17 @@ signalhandler(int sig, void *data)
return 0;
}
@@ -37,3 +37,8 @@ index 45ce7d1..d0a4ee6 100644
int
main(int argc, char **argv)
{
+- static const struct swc_manager manager = { .new_screen = newscreen, .new_window = newwindow };
++ static const struct swc_manager manager = { .new_screen = newscreen, .new_window = newwindow, .new_device = newdevice };
+ const char *socket;
+ struct stat st;
+ struct wl_event_source *signals[3];