Commit 4d578003 authored by Jens Georg's avatar Jens Georg

Slideshow: Block down key from focusing the toolbar

Fixes #122
parent 7b404022
Pipeline #74425 passed with stage
in 20 minutes and 29 seconds
......@@ -340,6 +340,12 @@ class SlideshowPage : SinglePhotoPage {
public override bool key_press_event(Gdk.EventKey event) {
bool handled = true;
switch (Gdk.keyval_name(event.keyval)) {
// Block activating the toolbar on key down
// FIXME: Why is SinglePhotoPage not a PhotoPage which already does this?
case "Down":
case "KP_Down":
;
break;
case "space":
on_play_pause();
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment