From: Jean Guyader Date: Wed, 9 Sep 2009 13:16:30 +0000 (+0100) Subject: Check if we have focus before forcing to linear. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=479d152094b55ccaad684cf0dd58de54ed68a0b6;p=xenclient%2Fioemu-pq.git Check if we have focus before forcing to linear. --- diff --git a/master/intel b/master/intel index a8c462d..3d944da 100644 --- a/master/intel +++ b/master/intel @@ -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();