Commit Graph
22 Commits
Author SHA1 Message Date
Guido Cella 5453b74075 update unclutter 2024-08-06 21:02:45 +02:00
Guido Cella 474e38a5f4 update unclutter
Fix error: a function declaration without a prototype is deprecated in
all versions of C [-Werror,-Wstrict-prototypes]
2024-07-25 17:59:44 +02:00
Guido Cella 87047eac10 remove upstreamed stale patches 2024-07-16 12:21:48 +02:00
Guido Cella 7431893328 remove unclutter dead links 2024-07-16 12:21:45 +02:00
Guido Cella 4c5d1df47f update unclutter 2024-07-16 10:15:37 +02:00
Guido Cella 6af0e5e209 update alwayscenter 2024-06-05 12:05:52 +02:00
Guido Cella ebde3bd764 update alwayscenter
Fixes https://codeberg.org/dwl/dwl-patches/issues/75 and
https://codeberg.org/dwl/dwl-patches/issues/76
2024-06-01 23:49:34 +02:00
Guido Cella fd26269b04 update alwayscenter
Fixes https://codeberg.org/dwl/dwl-patches/issues/58.
2024-05-10 17:44:28 +02:00
Guido Cella 185967aa4f update unclutter
Remember the last cursor shape when restoring the cursor.

Remove the condition that returns early when a pointer constraint is
active because it is not necessary now that pointer focus is no longer
cleared.

I didn't call wlr_seat_pointer_notify_enter() while the cursor is hidden
to avoid restoring it, but this is no longer necessary now that
setcursor() and setcursorshape() don't change the cursor while it is
hidden: those calls were what restored the cursor.

By calling wlr_seat_pointer_notify_enter() even when the cursor is
hidden, we no longer have to manually restore pointer focus when the
cursor is restored.
2024-04-06 08:03:47 +02:00
Guido Cella c0c1b7fac9 update switchtotag 2024-04-01 08:51:32 +02:00
Guido Cella 9a37e365ad update unclutter
Don't clear the pointer focus when hiding the cursor. This was annoying
because if you e.g. had the cursor over a spoiler tag it becomes black
again after the timeout, or if the cursor was opening a popup by
hovering over a button the popup disappears after the timeout.

Not clearing the pointer focus requires adding a check when changing the
cursor image to not make the cursor reappear when it does. Skipping the
image change results in having the old cursor image if it changed while
the cursor was hidden, until it is changed again. Don't keep track of
the last cursor image for simplicity.
2024-03-28 07:50:51 +01:00
Guido Cella c7ee39fb2c update unclutter 2024-03-11 18:55:39 +01:00
Guido Cella 7ee501eaea update unclutter 2024-03-11 18:48:08 +01:00
Guido Cella 8f6a71e1e9 update switchtotag 2024-03-11 18:45:48 +01:00
Guido Cella 6981befe48 update unclutter 2024-02-09 14:58:59 +01:00
Guido Cella 7e5e4adacc remove upstreamed toggle-layout-immediately 2024-02-07 07:17:23 +01:00
Guido Cella d9fe9d0fe2 update alwayscenter and center-terminal 2024-02-06 09:21:22 +01:00
Guido Cella e2b487ee47 update unclutter 2024-02-05 13:28:05 +01:00
Guido Cella 9bbae57be5 update shiftview 2024-01-27 22:45:46 +01:00
Guido Cella ff1c7e351e update unclutter
Make it compatible with the newly merged virtual pointer protocol.
2024-01-25 19:19:51 +01:00
Guido Cella 09bd313f9a update shiftview
Fix a warning.
2024-01-17 21:18:22 +01:00
Guido Cella b34818c2b4 update my patches 2024-01-16 19:11:34 +01:00