From 8911d9b5230586a8ba8056167098b10258ffd283 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Wed, 11 Jan 2012 09:07:41 +0100 Subject: [PATCH] SCX::GUI: use F5 for fullscreen --- SCX/GUI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SCX/GUI.pm b/SCX/GUI.pm index 3ad230c..371f919 100755 --- a/SCX/GUI.pm +++ b/SCX/GUI.pm @@ -66,7 +66,7 @@ use Data::Dumper; sub hotkey { my ($window, $key, $self) = @_; - if ($key->keyval == $Gtk2::Gdk::Keysyms{F5}) { + if ($key->keyval && $key->keyval == $Gtk2::Gdk::Keysyms{F5}) { if ($self->{fullscreen}) { leave_fullscreen($window, $self); } else { -- 2.43.5