Bind the mouse back button on the view

This commit is contained in:
2021-11-13 10:04:40 +01:00
parent a1db89d91c
commit b8cc43eb91
2 changed files with 14 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ fastiv_view_realize(GtkWidget *widget)
// than what we get automatically.
.visual = gtk_widget_get_visual(widget),
.event_mask = gtk_widget_get_events(widget) | GDK_SCROLL_MASK |
GDK_KEY_PRESS_MASK,
GDK_KEY_PRESS_MASK | GDK_BUTTON_PRESS_MASK,
};
// We need this window to receive input events at all.