| Message ID | 20251006205856.2009292-9-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759784385; bh=8RIObcmfU7nRJo5ipfOao9h7rTHIC8+utzvdGuAN0eY=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=dRsyCPNKxPtpg2d5RW0CrZ45wvymT0QrSBiPQS082faWQAkMsIe+rN/s6Pzc7Hzby p1J/zMmhWtW18p/iM0HW4ps4jSGmXbatmnRNcmIsh+KzaV0n2Iebs3Vpk0PzrK/49E hDiMvBkNY2pWx0MbXckv9iKzoOXqsQEQnJNSL7XGQX205XTAbrTrVE6tB589WxdI8R BqctJZ4vNc/5ZnUbrnruzDUvdem8+Crk5wCG32O3jSpTx6yXCB3fZaakqoOIXsRZ/i 4R3Bt9P4b9h0+0z7qWHfMjoi8ux1qlXcVmV1URMhc+3xr+Z8GUUGBHTh3EdgOMChsx T6J3LhZCifzAw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 7E3EC67FA7 for <u-boot-concept@u-boot.org>; Mon, 6 Oct 2025 14:59:45 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ZnqqQpiplSlg for <u-boot-concept@u-boot.org>; Mon, 6 Oct 2025 14:59:45 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759784383; bh=8RIObcmfU7nRJo5ipfOao9h7rTHIC8+utzvdGuAN0eY=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=YtTOK1MXNVsKHoX25hG//xwLGcrftJwbtSWv8aMi6DVi/3fK4Y1ecQ2mMhjHKetrf QJZt/CPz5jW6D/UDcueuG1V7PcrGh4zq2EKnSlQM1oaX5nNXeMBG7lsRMyBS0bKT9t l4lKFNbRnRkycsAHE4ax72aM8h83LPYKZBUYjjr+BUWsUgypBQrQ4ttEnT5eOnlv/A 7j8A/NjzePOJg7/swDFQaP9WtcRNzp3vY5Tn2oTk1XHuTCtU52ZNjRI62zc4nmiKhN MuWRmp0fVTiiFnVwKfZwzOKNhv+LwrAeuqboJ261bjgzU8kEQic2AMKYlQI05IJmMt jfJYQVO+NFE2w== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C8C0767EE4 for <u-boot-concept@u-boot.org>; Mon, 6 Oct 2025 14:59:43 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759784381; bh=gNg3wzy+MB5xvapWsKBwXOyFzcKgFbU5t76LW2Tisv8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WTBWXfyOih4lagEpQRpWERf6U2aGh6zznlqesRuSG1pJ5bHDmQFo5M3vNWfToBAYi //g+kqVWBytl5mKo54hhP79t30ThgPZfgB3HebTsDHGLP9pAIAbkAmBFXEt2KDd/rY F5c2spge3J0hXzQmHeCBi+k8G2HDjlRW5TBUCmWC7qFJvmUJ90UN57GWEYlODgQdXw QEEIwjjsgM6nInrqkwgxM8GXzeCCNDRF3+LKuZPP4b/dDsk6GXgbu3PCyOihLt6qMd Dn+Ff7CgVkoiFMcMJSlD0SECvygJeAVSJfAwFjy01QCZpYusT/LVqT7Pt9oqqm9mCj hpoIIFNi2j+QQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 46E3267F10; Mon, 6 Oct 2025 14:59:41 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 0X5Il0vO83ug; Mon, 6 Oct 2025 14:59:41 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1759784377; bh=Yj+Px4RJ5F14FQmokYGzyS++/ViPUPz1zzDVaHcDeaI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AanYKHA4OiVV2wpkw10UMr/9hqVd9V32oTFjesEYWuBUHqpP99OYTPabFX7ndCNw8 Fs2U6QoKwjUyqcVQ6bD1djESADetqFjrNcWCR7JX+hIzuIYQMAEfnJCQNx8qqVoLbe AzqqJIFErBkPMyviIj/Swf+TBxqQNtBddmwZqku571Oy1VW1dZxSsfb0PKs4N1X/Jh +xU5PCadxkNt+5dApQCKw/tbDJIeKORXI/FU2BbptvScTsixYhon7Wuta5tbdfAABd Xq1L5oscBTqNMbY4eDUzdm6fGM18Qi5wTsGDN5+Bxs5X9NzCuBZg5dY1Ij/+xYdUeT ORfj6wXzqU5cA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 1D3C267FD0; Mon, 6 Oct 2025 14:59:37 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Mon, 6 Oct 2025 14:58:42 -0600 Message-ID: <20251006205856.2009292-9-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251006205856.2009292-1-sjg@u-boot.org> References: <20251006205856.2009292-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: NJ4BFEBDU663RISGXYTJ7XLHGDCJHEZK X-Message-ID-Hash: NJ4BFEBDU663RISGXYTJ7XLHGDCJHEZK X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org>, Claude <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 08/14] expo: Hide system pointer when entering expo mode List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/NJ4BFEBDU663RISGXYTJ7XLHGDCJHEZK/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
expo: More mouse development for expo
|
|
Commit Message
Simon Glass
Oct. 6, 2025, 8:58 p.m. UTC
From: Simon Glass <sjg@chromium.org> When entering expo mode, hide the system mouse pointer so that only the custom expo pointer is visible. Restore it when exiting expo mode. This uses the new set_ptr_visible() method if a mouse is enabled. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <sjg@chromium.org> --- boot/expo.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/boot/expo.c b/boot/expo.c index 99b9ad4d52b..afb09aaf5b5 100644 --- a/boot/expo.c +++ b/boot/expo.c @@ -545,11 +545,15 @@ void expo_req_size(struct expo *exp, int width, int height) void expo_enter_mode(struct expo *exp) { video_manual_sync(exp->display, true); + if (IS_ENABLED(CONFIG_MOUSE) && exp->mouse_enabled) + mouse_set_ptr_visible(exp->mouse, false); } void expo_exit_mode(struct expo *exp) { video_manual_sync(exp->display, false); + if (IS_ENABLED(CONFIG_MOUSE) && exp->mouse_enabled) + mouse_set_ptr_visible(exp->mouse, true); } void expo_damage_reset(struct expo *exp)