From 499e4b4c50e798fd917dc14e5a68bbd2b65a8135 Mon Sep 17 00:00:00 2001 From: kai-berlin Date: Sat, 31 Oct 2020 22:21:04 +0000 Subject: [PATCH] broadway: Set modifier state of scroll events Set modifier state of scroll events, so Ctrl-scroll works. Fixes: #2733 --- gdk/broadway/gdkeventsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/broadway/gdkeventsource.c b/gdk/broadway/gdkeventsource.c index 4eef497cb4..3aab5583fa 100644 --- a/gdk/broadway/gdkeventsource.c +++ b/gdk/broadway/gdkeventsource.c @@ -185,7 +185,7 @@ _gdk_broadway_events_got_input (GdkDisplay *display, display_broadway->core_pointer, NULL, message->base.time, - 0, + message->pointer.state, message->scroll.dir == 0 ? GDK_SCROLL_UP : GDK_SCROLL_DOWN,