~ruther/guix-exprs

ref: 3ae03b35e10bc97077ff90041587626b782e63cf guix-exprs/ruther/packages/patches/revert-reset-pressed-buttons-on-focus-change.patch -rw-r--r-- 479 bytes
3ae03b35 — Rutherther feat: add dwl main branch 8 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);
Do not follow this link