swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.77k stars 1.11k forks source link

swaybar: Mouse interaction with blocklets broken #5677

Open carlsmedstad opened 4 years ago

carlsmedstad commented 4 years ago
Geo25rey commented 4 years ago

Can you share a log when you reproduce the bug rather than just starting up Sway?

carlsmedstad commented 4 years ago

Sure, sway reports mouse clicks both with and without the commit I mentioned:

00:00:02.643 [DEBUG] [types/seat/wlr_seat_pointer.c:382] button_count=1 grab_serial=0 serial=7
00:00:02.739 [DEBUG] [types/seat/wlr_seat_pointer.c:382] button_count=0 grab_serial=7 serial=8
00:00:03.221 [DEBUG] [types/seat/wlr_seat_pointer.c:382] button_count=1 grab_serial=7 serial=9
00:00:03.291 [DEBUG] [types/seat/wlr_seat_pointer.c:382] button_count=0 grab_serial=9 serial=10
00:00:03.799 [DEBUG] [types/seat/wlr_seat_pointer.c:382] button_count=1 grab_serial=9 serial=11
00:00:03.901 [DEBUG] [types/seat/wlr_seat_pointer.c:382] button_count=0 grab_serial=11 serial=12
00:00:04.393 [DEBUG] [types/seat/wlr_seat_pointer.c:382] button_count=1 grab_serial=11 serial=13
00:00:04.495 [DEBUG] [types/seat/wlr_seat_pointer.c:382] button_count=0 grab_serial=13 serial=14

Full logs: https://gist.github.com/carlsmedstad/927061b62b8127a7687e6ee17495c63a

The rest of the logs look identical too, which makes sense since that commit does not affect any logging to my knowledge.

It does however break mouse interaction with blockets for me.