From 6d162cf92d6b5546dcc6b2c8f0ec2f793a604a19 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 20 Jan 2021 01:34:52 +1100 Subject: [PATCH] [client] spice: remove useless check, the displayserver should do this --- client/src/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/src/main.c b/client/src/main.c index 20742af0..14f783de 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1013,10 +1013,6 @@ static void setCursorInView(bool enable) 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()) return;