~ruther/guix-exprs

ref: a9a68ac0244680164205f4bb60e9c08e458e95bf guix-exprs/ruther/packages/patches/revert-reset-pressed-buttons-on-focus-change.patch -rw-r--r-- 479 bytes
a9a68ac0 — Rutherther fix: s/wlroots-0.18/wlroots 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
--- a/types/seat/wlr_seat_pointer.c	2024-08-13 22:04:33.763639442 +0200
+++ b/types/seat/wlr_seat_pointer.c	2024-08-13 22:05:12.915444025 +0200
@@ -179,9 +179,6 @@
 		seat_client_send_pointer_leave_raw(focused_client, focused_surface);
 	}

-	// The current surface doesn't know about pressed buttons
-	wlr_seat->pointer_state.button_count = 0;
-
 	// enter the current surface
 	if (client != NULL && surface != NULL) {
 		uint32_t serial = wlr_seat_client_next_serial(client);