~ruther/guix-exprs

ref: f68303b671fc2632176d9a5af4552d1dd1d2e7e5 guix-exprs/modules/ruther/packages/patches/revert-reset-pressed-buttons-on-focus-change.patch -rw-r--r-- 479 bytes
f68303b6 — Rutherther fix: get rid of all gnu packages crates- uses 2 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);