[client] spice: remove useless check, the displayserver should do this

This commit is contained in:
Geoffrey McRae 2021-01-20 01:34:52 +11:00
parent 8f07744c98
commit 6d162cf92d

View File

@ -1013,10 +1013,6 @@ static void setCursorInView(bool enable)
void app_handleMouseGrabbed(double ex, double ey) void app_handleMouseGrabbed(double ex, double ey)
{ {
/* do not pass mouse events to the guest if we do not have focus */
if (!g_state.focused)
return;
if (!app_inputEnabled()) if (!app_inputEnabled())
return; return;