JBR-5961 Wayland: can't switch between projects using menu

fix activation not working on Ubuntu 23 (mutter 45.2), after a mouse button has been pressed in the originally active window

(cherry picked from commit 07fa18103e)
This commit is contained in:
Dmitry Batrak
2023-12-15 20:34:45 +02:00
committed by jbrbot
parent a6423d6dc8
commit c4c88153fa

View File

@@ -209,7 +209,6 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer, uint32_t serial,
pointer_event.button = button,
pointer_event.state = state;
if (state) {
last_input_or_focus_serial = serial;
last_mouse_pressed_serial = serial;
}
}