mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
Added scroll and touch events to GtkToolPalette
This commit is contained in:
parent
880391cded
commit
3472edb38d
@ -727,7 +727,9 @@ gtk_tool_palette_realize (GtkWidget *widget)
|
||||
attributes.event_mask = gtk_widget_get_events (widget)
|
||||
| GDK_VISIBILITY_NOTIFY_MASK | GDK_EXPOSURE_MASK
|
||||
| GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
|
||||
| GDK_BUTTON_MOTION_MASK;
|
||||
| GDK_BUTTON_MOTION_MASK
|
||||
| GDK_SCROLL_MASK | GDK_SMOOTH_SCROLL_MASK
|
||||
| GDK_TOUCH_MASK;
|
||||
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL;
|
||||
|
||||
window = gdk_window_new (gtk_widget_get_parent_window (widget),
|
||||
|
Loading…
Reference in New Issue
Block a user