broadway: Set modifier state of scroll events

Set modifier state of scroll events, so Ctrl-scroll
works.

Fixes: #2733
This commit is contained in:
kai-berlin 2020-10-31 22:21:04 +00:00 committed by Matthias Clasen
parent fd52220b1b
commit 499e4b4c50

View File

@ -185,7 +185,7 @@ _gdk_broadway_events_got_input (GdkDisplay *display,
display_broadway->core_pointer, display_broadway->core_pointer,
NULL, NULL,
message->base.time, message->base.time,
0, message->pointer.state,
message->scroll.dir == 0 message->scroll.dir == 0
? GDK_SCROLL_UP ? GDK_SCROLL_UP
: GDK_SCROLL_DOWN, : GDK_SCROLL_DOWN,