From: Stefano Stabellini Date: Wed, 3 Dec 2008 17:35:11 +0000 (+0000) Subject: Fix intel_focus when it gets called multiple times with the same arg. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b8290705051d637702c53533861d80d43ba3b89c;p=xenclient%2Fioemu.git Fix intel_focus when it gets called multiple times with the same arg. --- diff --git a/intel.c b/intel.c index 24653981..fc29057f 100644 --- a/intel.c +++ b/intel.c @@ -302,7 +302,7 @@ void intel_focus(int focus) intel_force_linear(); } set_data_mappings(); - } else { + } else if (old_data) { unset_data_mappings(); } }