Skip to content
Snippets Groups Projects
Commit c91c5ba3 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

stdin keyboard input: Ignore uninitialized keysyms

This fixes Ctrl+key causing unintended behaviour. Closes #596
parent 32924c21
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment