neuswc

patched neuswc library (tracked)
git clone https://git.daat.foo/neuswc.git
Log | Files | Refs | README | LICENSE

commit ec71320c1c388020a8195be1c02ead381e3cffb8
parent f35e69e3b98ca6eed40d8632b2b0c509882dc2bc
Author: cowmonk <cowmonk@based.pt>
Date:   Wed, 25 Nov 2026 20:11:59 -0700

cursor.patch: new MICE patch from upstream

Diffstat:
Mlibswc/pointer.c | 4+++-
Apatches/cursor.patch | 16++++++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/libswc/pointer.c b/libswc/pointer.c @@ -147,8 +147,10 @@ enter(struct input_focus_handler *handler, struct wl_list *resources, wl_fixed_t surface_x, surface_y; int32_t origin_x, origin_y; + /* the default until the client sets its own: a client that sets none + * would otherwise show the cursor the last one left */ + pointer_set_cursor(pointer, cursor_left_ptr); if (wl_list_empty(resources)) { - pointer_set_cursor(pointer, cursor_left_ptr); return; } serial = wl_display_next_serial(swc.display); diff --git a/patches/cursor.patch b/patches/cursor.patch @@ -0,0 +1,16 @@ +diff --git a/libswc/pointer.c b/libswc/pointer.c +index 1c279fd..086ad9e 100644 +--- a/libswc/pointer.c ++++ b/libswc/pointer.c +@@ -147,8 +147,10 @@ enter(struct input_focus_handler *handler, struct wl_list *resources, + wl_fixed_t surface_x, surface_y; + int32_t origin_x, origin_y; + ++ /* the default until the client sets its own: a client that sets none ++ * would otherwise show the cursor the last one left */ ++ pointer_set_cursor(pointer, cursor_left_ptr); + if (wl_list_empty(resources)) { +- pointer_set_cursor(pointer, cursor_left_ptr); + return; + } + serial = wl_display_next_serial(swc.display);