gtk: remove broken grabs

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2021-03-24 18:00:21 +04:00
parent 33fa975031
commit 1cae81e2f3

View File

@ -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();
}
}