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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;