input: Allow for `NULL` input when setting focus
On shutdown we dispose the input before the backend to disconnect
the signals so allow for a NULL
input here to avoid a crash
on shutdown.
Closes: #405 (closed) Signed-off-by: Guido Günther agx@sigxcpu.org