From b8290705051d637702c53533861d80d43ba3b89c Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Wed, 3 Dec 2008 17:35:11 +0000 Subject: [PATCH] Fix intel_focus when it gets called multiple times with the same arg. --- intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- 2.39.5