From 1cae81e2f3b38733720797a1401ee0f1cc89c6e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 24 Mar 2021 18:00:21 +0400 Subject: [PATCH] gtk: remove broken grabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau --- qemu-gtk4/src/console.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qemu-gtk4/src/console.rs b/qemu-gtk4/src/console.rs index e0549b0..b485db4 100644 --- a/qemu-gtk4/src/console.rs +++ b/qemu-gtk4/src/console.rs @@ -201,7 +201,6 @@ impl QemuConsole { }), ); priv_.console.set(console).unwrap(); - priv_.area.grab_focus(); } fn qemu_console(&self) -> &Console { @@ -216,9 +215,6 @@ impl QemuConsole { let c = self.qemu_console(); let _ = c.mouse.set_abs_position(x, y); } - - // FIXME: focus on click doesn't work - priv_.area.grab_focus(); } }