window: Allow grab if the display focus is unset
As per commit 040de396, we don't try to grab when shortcuts are inhibited,
However, this uses the focus window assuming that it is always set, while this might not be the case in some scenarios (like when unsetting the focus before requesting take-focus-window to acquire the input).
So allow the button grab even if the focus window is not set for the display
Closes: #663 (closed)