]> xenbits.xen.org Git - xenclient/ioemu-pq.git/commitdiff
XC-193: Don't wait for the other vm to leave when we steal the focus.
authorJean Guyader <jean.guyader@eu.citrix.com>
Thu, 10 Sep 2009 13:40:03 +0000 (14:40 +0100)
committerJean Guyader <jean.guyader@eu.citrix.com>
Thu, 10 Sep 2009 13:40:03 +0000 (14:40 +0100)
master/dom0-driver

index febaebe44d7066536f3332175d62d8b4a2a90578..747accaab0242ccc9e031000b7b304c57b124345 100644 (file)
@@ -24,10 +24,10 @@ index 14b42f3..97214c0 100644
  #endif
 diff --git a/dom0_driver.c b/dom0_driver.c
 new file mode 100644
-index 0000000..0988c6f
+index 0000000..92f6b17
 --- /dev/null
 +++ b/dom0_driver.c
-@@ -0,0 +1,707 @@
+@@ -0,0 +1,709 @@
 +/*
 + * QEMU dom0_driver
 + *
@@ -376,6 +376,8 @@ index 0000000..0988c6f
 +    if (!dom0_dom_alive(mouse.domid))
 +    {
 +      DEBUG("steal the focus from %d\n", mouse.domid);
++      dom0_driver_xs_write("pre", -1, DOM0_KEYBOARD);
++      dom0_driver_xs_write("pre", -1, DOM0_MOUSE);
 +      dom0_gr_devices(1, DOM0_KEYBOARD);
 +      dom0_gr_devices(1, DOM0_MOUSE);
 +      driver.enter();