mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2024-12-22 13:45:18 +00:00
gtk: make app non-unique
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
64a6569da7
commit
25537268d1
@ -92,7 +92,7 @@ impl QemuApplication {
|
||||
pub fn new() -> Self {
|
||||
glib::Object::new(&[
|
||||
("application-id", &Some(config::APP_ID)),
|
||||
("flags", &ApplicationFlags::empty()),
|
||||
("flags", &ApplicationFlags::NON_UNIQUE),
|
||||
])
|
||||
.expect("Application initialization failed...")
|
||||
}
|
||||
|
@ -192,6 +192,7 @@ impl QemuConsole {
|
||||
}),
|
||||
);
|
||||
priv_.console.set(console).unwrap();
|
||||
priv_.area.grab_focus();
|
||||
}
|
||||
|
||||
fn qemu_console(&self) -> &Console {
|
||||
|
Loading…
Reference in New Issue
Block a user