]> xenbits.xen.org Git - xenclient/ioemu-pq.git/commitdiff
Check if we have focus before forcing to linear.
authorJean Guyader <jean.guyader@eu.citrix.com>
Wed, 9 Sep 2009 13:16:30 +0000 (14:16 +0100)
committerJean Guyader <jean.guyader@eu.citrix.com>
Wed, 9 Sep 2009 13:16:30 +0000 (14:16 +0100)
master/intel

index a8c462d67056a078595512de132fafa59033d983..3d944da3923045d66a981818045f52723e62db4a 100644 (file)
@@ -599,7 +599,7 @@ index 0000000..85968cb
 +    if (!check_linear_timer)
 +        check_linear_timer = qemu_new_timer(rt_clock, intel_check_linear, NULL);
 +
-+    if (!is_linear())
++    if (intel_have_focus && !is_linear())
 +    {
 +        intel_force_linear(0);
 +        vga_hw_invalidate();