From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: make-pointer-invisible on Windows Date: Mon, 29 Jun 2015 11:45:49 +0200 Message-ID: <559113CD.2070803@gmx.at> References: <558A75C6.7040003@gmx.at> <83zj3pdusu.fsf@gnu.org> <558AEB8D.4070603@gmx.at> <83k2usewtv.fsf@gnu.org> <558BA156.6090508@gmx.at> <83a8vnesqm.fsf@gnu.org> <558CF75E.90801@gmx.at> <83wpyqdflh.fsf@gnu.org> <558D181A.4070402@gmx.at> <83twtudd0i.fsf@gnu.org> <83wpyn6g47.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1435571176 16839 80.91.229.3 (29 Jun 2015 09:46:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2015 09:46:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 29 11:46:08 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z9Vdf-00059r-KH for ged-emacs-devel@m.gmane.org; Mon, 29 Jun 2015 11:46:07 +0200 Original-Received: from localhost ([::1]:41416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9Vdf-00087C-4X for ged-emacs-devel@m.gmane.org; Mon, 29 Jun 2015 05:46:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9VdX-00085X-76 for emacs-devel@gnu.org; Mon, 29 Jun 2015 05:46:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9VdR-0007UJ-Mb for emacs-devel@gnu.org; Mon, 29 Jun 2015 05:45:58 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:50147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9VdR-0007Tv-Be; Mon, 29 Jun 2015 05:45:53 -0400 Original-Received: from [62.47.250.71] ([62.47.250.71]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M97Nh-1ZLNbe1Syz-00CPmb; Mon, 29 Jun 2015 11:45:51 +0200 In-Reply-To: <83wpyn6g47.fsf@gnu.org> X-Provags-ID: V03:K0:+mMVrTuEabyTE3OVNHRnkQbOX27utffUWsq/568BL+WClGmvr+w KZ8xcsIA5VN8G9oSGe6C/ub8h4V3MSW8pl+9DI+uvZxmFP5QB1dRVO9dl5aTJ2KzVGvipvW pemrJctFd1Fmnr0B76bmWC0dm0Wqyk/FVwGteO0RkZ336yR/6/u867hMmrQIDAuCwjqICm/ pgbyCUohUWAsgJbWulgBQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:g8py6znraHk=:6vdzFstAI0O2S7xRQlC/iN mvwltEY2uLRgSpR69sWw0a/h9ZoT7b+EklD1r8CJbnkSWWhVL2ipaaRlB91vOqkPhaMFLW61y /93EECnN2h7p7agWyeSvGdySEovtEj6iGYZEiIrw/dLL93k1qf51AbA7rqBbKRNJWB5BiRWig alqnCc15UqPftonamOigB+LppmZf+PzpPPW+0NopQVuYw6pGif7bYgT324A4KPmDo/eUvuxOX cewVquhcotzwbzTAiuGj8t8nWC25HRbjZ40t+S5LeDOWdhhTppyNhSWV6TnIrxOWg39dOF/YZ GaZjcPmSvbXSLKmo39/P36iBywor98OdpX7rpUuWUk9J08wSYv0n/s/dNmPGqV/05bU2xesmc X3QAehkJnoUruuG4Tywqsk9zekth5tZXOjBg6Wuh+tiWx5Zn2WO10Wnjwsz09hBUgY2fa3Uzx IlnXtF7j6fS4oO+OUowwv5Fm4h8syppc5XTB8A1ElogoZbJ1zAZT4mOjrRl8qa8VZGs7dPqCG xFQbvhqkkSozqq6nrZdc4ExwMOP4Iqr74mQOPD+OlWE0IKNGIV1vdP3j92EI5FFFqBWYwAV64 rt+I5M5QoR1LXQ/RMEvsPUGn8V+ETUOxdhEenM4HiW65NVlow78yWM3N6PEcPXtOUq5Ft59La StnaTsgfPQZeX+a6knlhVSJZrqAeaShhI8cFwdabIrrOkAi9VOb9/C8sbLlrxm0Olje0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187637 Archived-At: > No mystery here, it turns out. On XP, we get the WM_ERASEBKGND > message when (portions of) the Emacs frame previously covered by other > windows are uncovered. In response, we erase the rectangle specified > by the message, and we do that from the input thread, i.e. this works > even if the main thread is busy. I don't think it's worth changing this but in principle we could erase from the main thread as well? That is, erasing without painting doesn't make much sense anyway. > WM_ERASEBKGND is immediately > followed by WM_PAINT, but the latter is passed for execution by the > main thread, and that thread is busy. This is why you wind up with an > empty rectangle. > > On Windows 7, neither WM_ERASEBKGND nor WM_PAINT are sent, except when > the Emacs frame is moved or resized. So we don't erase the rectangle, > and the text remains on screen. So you do get a blank rectangle when you (de-)maximze the frame I suppose. > Not an easy one: we'd need to handle several expose events for > different rectangles at once. Given that X doesn't support this, I > see no reason to invest any efforts there. Agreed. martin