~ruther/ruthless-guix

ref: f1e26531e6278394912f4cf6a322b0cbf7cb0a4f ruthless-guix/modules/ruther/packages/patches/revert-reset-pressed-buttons-on-focus-change.patch -rw-r--r-- 479 bytes
f1e26531 — Rutherther fix: channel introduction for real 9 days 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);