Allow scrollwheel events when mouse is captured with GTK3, see #18593
This commit is contained in:
@@ -5898,6 +5898,7 @@ void wxWindowGTK::DoCaptureMouse()
|
||||
gdk_seat_grab(seat, window, GDK_SEAT_CAPABILITY_POINTER, false, NULL, NULL, NULL, 0);
|
||||
#else
|
||||
const GdkEventMask mask = GdkEventMask(
|
||||
GDK_SCROLL_MASK |
|
||||
GDK_BUTTON_PRESS_MASK |
|
||||
GDK_BUTTON_RELEASE_MASK |
|
||||
GDK_POINTER_MOTION_HINT_MASK |
|
||||
|
||||
Reference in New Issue
Block a user