diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-04-13 18:52:57 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-04-16 20:01:41 +0200 |
commit | 6883155ab41bed83aed3735480dc32c490df9024 (patch) | |
tree | 3c5e824099c327132b087e0d31363d7a91efeeea | |
parent | 9e1273fe1fdd42773027cd385f2d50bacb59a719 (diff) |
gtk: scroll event are not received with recent gtk+
Add explicit scroll event mask to make it work again.
-rw-r--r-- | gtk/spice-widget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index 30e58dc..d355f09 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -379,7 +379,8 @@ static void spice_display_init(SpiceDisplay *display) GDK_BUTTON_MOTION_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | - GDK_KEY_PRESS_MASK); + GDK_KEY_PRESS_MASK | + GDK_SCROLL_MASK); gtk_widget_set_double_buffered(widget, false); gtk_widget_set_can_focus(widget, true); gtk_widget_set_has_window(widget, true); |