diff options
-rw-r--r-- | src/keyevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index 0ca489a..8185167 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -359,7 +359,7 @@ void feh_event_handle_stdin() else keysym = XStringToKeysym(stdin_buf); - if (window_num) + if (window_num && keysym) feh_event_handle_generic(windows[0], is_esc * Mod1Mask, keysym, 0); is_esc = 0; |