aboutsummaryrefslogtreecommitdiff
path: root/fastiv-view.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-13 10:04:40 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-13 10:05:05 +0100
commitb8cc43eb914a1d66b94dc917f27d9609266d4a01 (patch)
tree65a2f3c33bdbdc551d7be5e08c54f54c9a500de4 /fastiv-view.c
parenta1db89d91cb7498c962a9183eebf2e1d3070ca62 (diff)
downloadfiv-b8cc43eb914a1d66b94dc917f27d9609266d4a01.tar.gz
fiv-b8cc43eb914a1d66b94dc917f27d9609266d4a01.tar.xz
fiv-b8cc43eb914a1d66b94dc917f27d9609266d4a01.zip
Bind the mouse back button on the view
Diffstat (limited to 'fastiv-view.c')
-rw-r--r--fastiv-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastiv-view.c b/fastiv-view.c
index a8b879e..b7dda61 100644
--- a/fastiv-view.c
+++ b/fastiv-view.c
@@ -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.