mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
calendar: Set GDK_SCROLL_MASK explicitly
selecting for button press/release doesn't suffice anymore to get scroll events.
This commit is contained in:
parent
a5c394e901
commit
2927218a26
@ -1681,6 +1681,7 @@ gtk_calendar_realize (GtkWidget *widget)
|
||||
attributes.wclass = GDK_INPUT_ONLY;
|
||||
attributes.window_type = GDK_WINDOW_CHILD;
|
||||
attributes.event_mask = (gtk_widget_get_events (widget) | GDK_EXPOSURE_MASK
|
||||
| GDK_SCROLL_MASK
|
||||
| GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
|
||||
| GDK_POINTER_MOTION_MASK | GDK_LEAVE_NOTIFY_MASK);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user