From unknown Tue Aug 19 10:01:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17609 <17609@debbugs.gnu.org> To: bug#17609 <17609@debbugs.gnu.org> Subject: Status: 24.4.50; trunk r117096: disappearing cursor in X Reply-To: bug#17609 <17609@debbugs.gnu.org> Date: Tue, 19 Aug 2025 17:01:24 +0000 retitle 17609 24.4.50; trunk r117096: disappearing cursor in X reassign 17609 emacs submitter 17609 Jan Tatarik severity 17609 normal tag 17609 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 11:39:31 2014 Received: (at submit) by debbugs.gnu.org; 27 May 2014 15:39:31 +0000 Received: from localhost ([127.0.0.1]:33555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpJTK-00070n-TL for submit@debbugs.gnu.org; Tue, 27 May 2014 11:39:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43396) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpHfk-0003v8-Ka for submit@debbugs.gnu.org; Tue, 27 May 2014 09:44:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpHfZ-0003T5-EA for submit@debbugs.gnu.org; Tue, 27 May 2014 09:44:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_SORBS_WEB,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpHfZ-0003Sz-Ap for submit@debbugs.gnu.org; Tue, 27 May 2014 09:43:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpHfT-0008Ii-AY for bug-gnu-emacs@gnu.org; Tue, 27 May 2014 09:43:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpHfM-0003Qe-Dl for bug-gnu-emacs@gnu.org; Tue, 27 May 2014 09:43:51 -0400 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:64575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpHfM-0003QP-6d for bug-gnu-emacs@gnu.org; Tue, 27 May 2014 09:43:44 -0400 Received: by mail-wg0-f48.google.com with SMTP id k14so5284477wgh.19 for ; Tue, 27 May 2014 06:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=GiHFIWqFUZXhzLJeLnP7fXh35I7ANTg4a5bbjGockY8=; b=g3mq43JMmED3pleBlZzJ+Tin2VdURPNoNj5RJhfRtJ7lKE+QEN/uLL5BP1ov/mhYgH 3HaPccOB0h8jluAEjtSm0ddJcSwRrbRdI0wK/92oDEOBt/oZJKxRJMamq63KJOTjmi0C LmoEkQh5O36CBuVUxq4DngD6phXKCE7UfbA0ISdNAF0e9YIy3TQICgLRUR2l5/Tie9wS bkLcyqf81ipUcQ44jajeerQH+D1dhJu8Ez7mvujxuwf4hTLsiKLJo7Mxe5I4mMpRyhTY Og20nhTeHoxtMSkUdXPGzI7bgnv9YqYztaXlutAyRuDIIgE6XC91Av2EpDrHgktWhBKZ 3FFQ== X-Received: by 10.180.212.107 with SMTP id nj11mr38572041wic.40.1401198222533; Tue, 27 May 2014 06:43:42 -0700 (PDT) Received: from nb-jtatarik2.xing.hh (office.xing.com. [82.112.107.65]) by mx.google.com with ESMTPSA id pq9sm15991315wjc.35.2014.05.27.06.43.41 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 27 May 2014 06:43:41 -0700 (PDT) From: Jan Tatarik To: bug-gnu-emacs@gnu.org Subject: 24.4.50; trunk r117096: disappearing cursor in X Date: Tue, 27 May 2014 15:43:37 +0200 Message-ID: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 27 May 2014 11:39:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) Starting with revision 117096, the X cursor will sometimes disappear and remain invisible until as long as emacs is running. Steps to reproduce (emacs with X support): 1) emacs -Q and the initial frame (frame A) appears 2) C-x 5 2 and new frame (frame B) appears 3) switch to frame B and position the mouse cursor inside the frame 4) start typing in frame B's scratch buffer - the mouse cursor disappears 5) C-x 5 0 to kill frame B 6) back in frame A, but the cursor is still invisible. It remains invisible until emacs is exited. Expected behavior: in step 6, the cursor should have appeared again. This is working correctly in revision 117095. In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.17) of 2014-05-27 on nb-jtatarik2 Repository revision: 117165 eggert@cs.ucla.edu-20140527063729-rdl39wb178p4v6xj Windowing system distributor `The X.Org Foundation', version 11.0.11303000 System Description: Linux Mint 15 Olivia Configured using: `configure --with-x-toolkit=gtk2' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB Important settings: value of $LC_COLLATE: C value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_GB.UTF8 value of $LANG: en_US.UTF8 locale-coding-system: utf-8-unix From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 13:52:25 2014 Received: (at 17609) by debbugs.gnu.org; 27 May 2014 17:52:25 +0000 Received: from localhost ([127.0.0.1]:33645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpLXx-00034m-1Q for submit@debbugs.gnu.org; Tue, 27 May 2014 13:52:25 -0400 Received: from forward10l.mail.yandex.net ([84.201.143.143]:38250) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpLXr-00034V-Gp for 17609@debbugs.gnu.org; Tue, 27 May 2014 13:52:20 -0400 Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward10l.mail.yandex.net (Yandex) with ESMTP id D35C0BA0D51; Tue, 27 May 2014 21:52:08 +0400 (MSK) Received: from smtp8.mail.yandex.net (localhost [127.0.0.1]) by smtp8.mail.yandex.net (Yandex) with ESMTP id 794381B600C0; Tue, 27 May 2014 21:52:08 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp8.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id HGsCAionGW-q8kW9FHr; Tue, 27 May 2014 21:52:08 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 7c0db4a3-06c2-495e-aebc-072f28640635 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1401213128; bh=/xQR4Cmm9cCDdL0ZJUd/liUCsEbPxcxmQBO3KBIRMw0=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=BNTFAZDbCYteRVrC+e2464BBNQod2MJqcqFaNBlRVILCBoXZbAHxVwfVN8QrWnJo0 dvwdkcPuo4iq9T3uGuV0EjRM2pzWjA4adgmrCMRCpyZcs0EaOa6FFe8lCSmX0LM7l5 G4N4kF8RzOopLGcstaZlkBEa7kH/oZ+dNEvQIVsg= Authentication-Results: smtp8.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <5384D0C7.2090808@yandex.ru> Date: Tue, 27 May 2014 21:52:07 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Jan Tatarik Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X References: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> In-Reply-To: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17609 Cc: 17609@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 05/27/2014 05:43 PM, Jan Tatarik wrote: > Starting with revision 117096, the X cursor will sometimes disappear and > remain invisible until as long as emacs is running. Reproduced. Could you please verify that old (fallback) code still works? I.e. with Xfixes extension always disabled? === modified file 'src/xterm.c' --- src/xterm.c 2014-05-14 13:55:37 +0000 +++ src/xterm.c 2014-05-27 17:49:02 +0000 @@ -9752,8 +9752,7 @@ x_probe_xfixes_extension (Display *dpy) { #ifdef HAVE_XFIXES - int major, minor; - return XFixesQueryVersion (dpy, &major, &minor) && major >= 4; + return false; #else return false; #endif /* HAVE_XFIXES */ Dmitry From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 16:16:23 2014 Received: (at 17609) by debbugs.gnu.org; 27 May 2014 20:16:23 +0000 Received: from localhost ([127.0.0.1]:33702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpNnK-0007Ri-Il for submit@debbugs.gnu.org; Tue, 27 May 2014 16:16:22 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:34170) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpNnI-0007RS-Rr for 17609@debbugs.gnu.org; Tue, 27 May 2014 16:16:21 -0400 Received: by mail-we0-f173.google.com with SMTP id u57so10178773wes.4 for <17609@debbugs.gnu.org>; Tue, 27 May 2014 13:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=J3ExkdW++PUl0RBjqZlsrkQQTBHuoYkJfPO7rTp5u0w=; b=FxowwCSPFi8UFi0SAVeZ69DylJ+RqwVPp/XH7KO6NY+5PwDMffuQWylp0lQ0BBsyea KLHYi1VyME/KloVRxzpEMzguZh6769j6hWmBVYo1WwoSlZqtN2IhjA6+qTw06EStPtKH GLOoWfk7BuaXrTULxyL/DZsIRmcisKKRK47MWrUu5JzygTK5RFtqcd4jM3kTv1NExpuz Lporf+dBWH8LJEtfGzAk7aOTRlO2SGToZME7RyZ6lC+V4AJ/TFI3FxFh+oTfDPHAZyP4 D3ld7GweRDRNzTuLVHf2hUBj9Nnukf9W3Cbmwhb91F2csO9YG/enYb/5eMe6yvsZXQAy bAcw== X-Received: by 10.194.89.40 with SMTP id bl8mr27372878wjb.90.1401221774804; Tue, 27 May 2014 13:16:14 -0700 (PDT) Received: from nb-jtatarik2.xing.hh (95-91-224-80-dynip.superkabel.de. [95.91.224.80]) by mx.google.com with ESMTPSA id ho2sm10974321wib.15.2014.05.27.13.16.13 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 27 May 2014 13:16:14 -0700 (PDT) From: Jan Tatarik To: Dmitry Antipov Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X References: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> <5384D0C7.2090808@yandex.ru> Date: Tue, 27 May 2014 22:16:08 +0200 In-Reply-To: <5384D0C7.2090808@yandex.ru> (Dmitry Antipov's message of "Tue, 27 May 2014 21:52:07 +0400") Message-ID: <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17609 Cc: 17609@debbugs.gnu.org, Jan Tatarik X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Tue, May 27 2014, Dmitry Antipov wrote: > On 05/27/2014 05:43 PM, Jan Tatarik wrote: >> Starting with revision 117096, the X cursor will sometimes disappear and >> remain invisible until as long as emacs is running. > Reproduced. Could you please verify that old (fallback) code > still works? I.e. with Xfixes extension always disabled? That works indeed. From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 19:30:10 2014 Received: (at 17609) by debbugs.gnu.org; 27 May 2014 23:30:10 +0000 Received: from localhost ([127.0.0.1]:33796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpQos-00047l-5z for submit@debbugs.gnu.org; Tue, 27 May 2014 19:30:10 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:22096) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpQop-00046V-FA for 17609@debbugs.gnu.org; Tue, 27 May 2014 19:30:08 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd/fU/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIxALNBIUGA0kiAQI0hkXjjhCB4Q4BKkZgWqDTCGBLg X-IPAS-Result: ArYGAIDvNVNLd/fU/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIxALNBIUGA0kiAQI0hkXjjhCB4Q4BKkZgWqDTCGBLg X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="64478766" Received: from 75-119-247-212.dsl.teksavvy.com (HELO pastel.home) ([75.119.247.212]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 May 2014 19:30:01 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0B0546024D; Tue, 27 May 2014 19:30:01 -0400 (EDT) From: Stefan Monnier To: Jan Tatarik Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X Message-ID: References: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> <5384D0C7.2090808@yandex.ru> <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> Date: Tue, 27 May 2014 19:30:00 -0400 In-Reply-To: <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> (Jan Tatarik's message of "Tue, 27 May 2014 22:16:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17609 Cc: Dmitry Antipov , 17609@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >>> Starting with revision 117096, the X cursor will sometimes disappear and >>> remain invisible until as long as emacs is running. Ha, I see this as well, but I upgraded my window manager right around the same time, so I assumed the bug was in the window-manager. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed May 28 00:17:47 2014 Received: (at 17609) by debbugs.gnu.org; 28 May 2014 04:17:47 +0000 Received: from localhost ([127.0.0.1]:33902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpVJC-0004GI-GE for submit@debbugs.gnu.org; Wed, 28 May 2014 00:17:46 -0400 Received: from forward10l.mail.yandex.net ([84.201.143.143]:59730) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpVJ9-0004G0-Be for 17609@debbugs.gnu.org; Wed, 28 May 2014 00:17:44 -0400 Received: from smtp6.mail.yandex.net (smtp6.mail.yandex.net [77.88.61.56]) by forward10l.mail.yandex.net (Yandex) with ESMTP id ED726BA122E; Wed, 28 May 2014 08:17:36 +0400 (MSK) Received: from smtp6.mail.yandex.net (localhost [127.0.0.1]) by smtp6.mail.yandex.net (Yandex) with ESMTP id 960CA1640784; Wed, 28 May 2014 08:17:36 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp6.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id f5HCHD9ErW-HaDSjESW; Wed, 28 May 2014 08:17:36 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 7791305f-51df-4931-8d27-b5220c91065d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1401250656; bh=vwFf5fZHu+JbXbtGBHawOAEG5WXOJlxi0w/BfIaHXnc=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type; b=DSv6U11KBPqI4muDtcZhkA08Jqcm9aamfG6EbSvdRaYswnab4JN4Pq3M5e/9ga/EH wj2C5ra3GedVl+LWKLBj5+t9n3YBBanDOIa5dsFGU2zXna2+J61nEnebZj7B5sfNlL ooQALya1yItutcha/S7/DPp7b5CHtISyKmKSAHTg= Authentication-Results: smtp6.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <53856360.5030401@yandex.ru> Date: Wed, 28 May 2014 08:17:36 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Jan Tatarik Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X References: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> <5384D0C7.2090808@yandex.ru> <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> In-Reply-To: <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> Content-Type: multipart/mixed; boundary="------------030902070901010705060700" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17609 Cc: 17609@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --------------030902070901010705060700 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 05/28/2014 12:16 AM, Jan Tatarik wrote: > That works indeed. Hm... the whole thing (totally disappeared pointer) makes me think that Xfixes functions operates on X screens but not X windows :-(. Anyway, please try this patch. Dmitry --------------030902070901010705060700 Content-Type: text/x-patch; name="bug17609.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bug17609.patch" === modified file 'src/cmds.c' --- src/cmds.c 2014-03-04 03:14:11 +0000 +++ src/cmds.c 2014-05-28 03:08:40 +0000 @@ -315,7 +315,7 @@ int val = internal_self_insert (character, XFASTINT (n)); if (val == 2) nonundocount = 0; - frame_make_pointer_invisible (); + frame_make_pointer_invisible (SELECTED_FRAME ()); } return Qnil; === modified file 'src/frame.c' --- src/frame.c 2014-04-03 20:46:04 +0000 +++ src/frame.c 2014-05-28 03:49:01 +0000 @@ -4373,16 +4373,11 @@ #endif /* HAVE_WINDOW_SYSTEM */ void -frame_make_pointer_invisible (void) +frame_make_pointer_invisible (struct frame *f) { if (! NILP (Vmake_pointer_invisible)) { - struct frame *f; - if (!FRAMEP (selected_frame) || !FRAME_LIVE_P (XFRAME (selected_frame))) - return; - - f = SELECTED_FRAME (); - if (f && !f->pointer_invisible + if (f && FRAME_LIVE_P (f) && !f->pointer_invisible && FRAME_TERMINAL (f)->toggle_invisible_pointer_hook) { f->mouse_moved = 0; @@ -4393,17 +4388,11 @@ } void -frame_make_pointer_visible (void) +frame_make_pointer_visible (struct frame *f) { /* We don't check Vmake_pointer_invisible here in case the pointer was invisible when Vmake_pointer_invisible was set to nil. */ - struct frame *f; - - if (!FRAMEP (selected_frame) || !FRAME_LIVE_P (XFRAME (selected_frame))) - return; - - f = SELECTED_FRAME (); - if (f && f->pointer_invisible && f->mouse_moved + if (f && FRAME_LIVE_P (f) && f->pointer_invisible && f->mouse_moved && FRAME_TERMINAL (f)->toggle_invisible_pointer_hook) { FRAME_TERMINAL (f)->toggle_invisible_pointer_hook (f, 0); === modified file 'src/frame.h' --- src/frame.h 2014-04-04 16:59:50 +0000 +++ src/frame.h 2014-05-28 03:08:21 +0000 @@ -995,8 +995,8 @@ #endif /* HAVE_WINDOW_SYSTEM */ extern bool window_system_available (struct frame *); extern void check_window_system (struct frame *); -extern void frame_make_pointer_invisible (void); -extern void frame_make_pointer_visible (void); +extern void frame_make_pointer_invisible (struct frame *); +extern void frame_make_pointer_visible (struct frame *); extern Lisp_Object delete_frame (Lisp_Object, Lisp_Object); extern Lisp_Object Vframe_list; === modified file 'src/keyboard.c' --- src/keyboard.c 2014-05-28 00:50:44 +0000 +++ src/keyboard.c 2014-05-28 04:05:53 +0000 @@ -6877,6 +6877,20 @@ } } + /* If there was no error, make sure the cursor + is visible for all frames on this terminal. */ + if (nr >= 0) + { + Lisp_Object tail, frame; + + FOR_EACH_FRAME (tail, frame) + { + struct frame *f = XFRAME (frame); + if (FRAME_TERMINAL (f) == t) + frame_make_pointer_visible (f); + } + } + if (hold_quit.kind != NO_EVENT) kbd_buffer_store_event (&hold_quit); } @@ -6887,8 +6901,6 @@ if (err && !nread) nread = -1; - frame_make_pointer_visible (); - return nread; } === modified file 'src/xterm.c' --- src/xterm.c 2014-05-14 13:55:37 +0000 +++ src/xterm.c 2014-05-28 04:10:30 +0000 @@ -9233,6 +9233,10 @@ commands to the X server. */ if (dpyinfo->display) { + /* Always exit with visible pointer to avoid weird issue + with Xfixes (Bug#17609). */ + FRAME_DISPLAY_INFO (f)->toggle_visible_pointer (f, 0); + /* We must free faces before destroying windows because some font-driver (e.g. xft) access a window while finishing a face. */ --------------030902070901010705060700-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 28 03:44:42 2014 Received: (at 17609) by debbugs.gnu.org; 28 May 2014 07:44:42 +0000 Received: from localhost ([127.0.0.1]:33975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpYXS-0002n2-0j for submit@debbugs.gnu.org; Wed, 28 May 2014 03:44:42 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:58896) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpYXP-0002mj-5y for 17609@debbugs.gnu.org; Wed, 28 May 2014 03:44:40 -0400 Received: by mail-wi0-f172.google.com with SMTP id hi2so3102309wib.11 for <17609@debbugs.gnu.org>; Wed, 28 May 2014 00:44:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=9hh+F++DxCvfYt0SDIiKF+kV21EF1Fjoof76jWR2fb0=; b=bj3/0FgRRTe5En//wrTQWBG1rUHMvBL/hdj/NYbhTohK354W9/RFcJnBWbVDpLjNyu 5J0AsRlACnNV4lT6r7Cv2zfezEXq/DFCRZi1ZDbZ2uu4fBxg9ws4UffM54CvQ15rYaZr RQs0IzlInyoTRBFDhYhFX5tqnOFsPo8TpkKv7ztGP7GhzsG50cd/WBvaklPqLVbeyToj 30C0QGNrtSeLyKLNle+rNzZMbB6NsiqNwur7yBPZ78D47lmBdKKiK8FWobVqNye2mYOg NOK7n/zPjxTF0HfBNke+6+ozTMCZ1fA5Z6aqu2mWV+nHW5RYRvBuaJ3biJ3b+ypGu/XR a5Tg== X-Received: by 10.194.92.176 with SMTP id cn16mr42450790wjb.43.1401263073229; Wed, 28 May 2014 00:44:33 -0700 (PDT) Received: from nb-jtatarik2.xing.hh (office.xing.com. [82.112.107.65]) by mx.google.com with ESMTPSA id p15sm11159494wiv.8.2014.05.28.00.44.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 28 May 2014 00:44:32 -0700 (PDT) From: Jan Tatarik To: Dmitry Antipov Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X References: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> <5384D0C7.2090808@yandex.ru> <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> <53856360.5030401@yandex.ru> Date: Wed, 28 May 2014 09:44:27 +0200 In-Reply-To: <53856360.5030401@yandex.ru> (Dmitry Antipov's message of "Wed, 28 May 2014 08:17:36 +0400") Message-ID: <87k3968i04.fsf@nb-jtatarik2.xing.hh> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 17609 Cc: 17609@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) On Wed, May 28 2014, Dmitry Antipov wrote: > On 05/28/2014 12:16 AM, Jan Tatarik wrote: >> That works indeed. > Hm... the whole thing (totally disappeared pointer) makes me think that > Xfixes functions operates on X screens but not X windows :-(. Anyway, > please try this patch. Works. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 02 09:39:49 2014 Received: (at 17609) by debbugs.gnu.org; 2 Jun 2014 13:39:49 +0000 Received: from localhost ([127.0.0.1]:40458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrSSm-00010V-Rb for submit@debbugs.gnu.org; Mon, 02 Jun 2014 09:39:49 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:55088) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrSSg-00010C-MJ for 17609@debbugs.gnu.org; Mon, 02 Jun 2014 09:39:43 -0400 Received: by mail-wi0-f172.google.com with SMTP id hi2so4579370wib.17 for <17609@debbugs.gnu.org>; Mon, 02 Jun 2014 06:39:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:references:user-agent:message-id :mime-version:content-type; bh=w0XCCpqXM1h4KUGuWbVgB1AHFh0prSacCl16Noors7c=; b=HSgJHW+9mVG77ZwdsdzZKi7BdpkrfNwXND7E3HLk4tlhlqNd4NzenWSpEymcvdKUWL YhOUcB7hZdxLsBaawItc+IC7tHJTJU8IX6ZeME4SK1m92F9i9AAOKQQt7Sfzagx7oFLA uFLZ8RLweTSG751fAKRKYNcZBzHWWnczYbK3hlGhxnEACLFgWeYv/ab1g5W8q8+w1fL+ MVpH6YUsS2Wt6tWVxk64f/SaJoBg1TTRmub12hjGb+U5SRZ8JEY1hdFtClNWlnPO/r1+ 6eJNiZID+TgEu/O6sh4z9f+Qg/DP4H+yz9GRegv33uljMHO49MowV92T9xGQO5KFdkgL 78yA== X-Received: by 10.194.133.1 with SMTP id oy1mr5075738wjb.87.1401716372605; Mon, 02 Jun 2014 06:39:32 -0700 (PDT) Received: from nb-jtatarik2.xing.hh (office.xing.com. [82.112.107.65]) by mx.google.com with ESMTPSA id bn7sm35561460wjc.7.2014.06.02.06.39.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 02 Jun 2014 06:39:32 -0700 (PDT) From: Jan Tatarik To: Dmitry Antipov Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X Date: Mon, 02 Jun 2014 13:47:12 +0200 References: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> <5384D0C7.2090808@yandex.ru> <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> <53856360.5030401@yandex.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Message-ID: <87ppirqvlb.fsf@nb-jtatarik2.xing.hh> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 17609 Cc: 17609@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) On Wed, May 28 2014, Dmitry Antipov wrote: > Hm... the whole thing (totally disappeared pointer) makes me think that > Xfixes functions operates on X screens but not X windows :-(. Anyway, > please try this patch. There's still an issue. Pop-up notifications (notifications.el) triggered by emacs make the cursor disappear. The cursor remains hidden until emacs gets focus again. At this moment I cannot provide exact steps to reproduce, as executing the notifications-notify function manually doesn't exhibit the problem. I'm using erc with the desktop-notification plugin. I am also using appt.el, with the following advice: (defadvice appt-disp-window (after my:appt-notify activate compile) "Pop up notification for upcoming appointments." (with-current-buffer appt-buffer-name (let ((body (buffer-string))) (notifications-notify :title "Appointment" :body body :app-icon "/usr/share/icons/gnome/48x48/status/appointment-soon.png")))) I'm not 100% sure about the notifications coming from erc, but I have confirmed with the ones from appt - if emacs triggers the notification while some other, non-emacs window is focused (e.g. my browser), the cursor will disappear. It reappears when I switch back to emacs. Hope this helps. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 03 08:40:41 2014 Received: (at 17609) by debbugs.gnu.org; 3 Jun 2014 12:40:41 +0000 Received: from localhost ([127.0.0.1]:41790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wro17-0001xa-6V for submit@debbugs.gnu.org; Tue, 03 Jun 2014 08:40:40 -0400 Received: from forward8l.mail.yandex.net ([84.201.143.141]:59546) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wro10-0001xA-6u for 17609@debbugs.gnu.org; Tue, 03 Jun 2014 08:40:31 -0400 Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [37.140.190.29]) by forward8l.mail.yandex.net (Yandex) with ESMTP id 76BBD1A411D6; Tue, 3 Jun 2014 16:40:23 +0400 (MSK) Received: from smtp4o.mail.yandex.net (localhost [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 155642321B2C; Tue, 3 Jun 2014 16:40:22 +0400 (MSK) Received: from unknown (unknown [37.139.80.10]) by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 8IfrQZsSFb-eMH4f8i6; Tue, 3 Jun 2014 16:40:22 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 9d7c07f5-9f7e-4fa9-bb49-82f721364965 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1401799222; bh=TUPmEB1JDThikN3LXoZuPZoZviSWYmJKzHlzaU9ow2M=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type; b=XOoa9pKHzq3LKKfch0zyInwwz3NStJQ2RECGuCf7PwsYkG8wfdBW+XXBoG9VcBxiJ PmMjx/S19rVTM6rxOyWYP/XmdyzmEj6ICQ4607v4Y2d6E4xoWvMA9luSjjlGYBxFXV J1DmiZcMMLks2mE4FyWExMGrjAmFEhfvJqBtmQk4= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <538DC236.4000001@yandex.ru> Date: Tue, 03 Jun 2014 16:40:22 +0400 From: Dmitry Antipov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Jan Tatarik Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X References: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> <5384D0C7.2090808@yandex.ru> <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> <53856360.5030401@yandex.ru> <87ppirqvlb.fsf@nb-jtatarik2.xing.hh> In-Reply-To: <87ppirqvlb.fsf@nb-jtatarik2.xing.hh> Content-Type: multipart/mixed; boundary="------------020307040906090103080906" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17609 Cc: 17609@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --------------020307040906090103080906 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 06/02/2014 03:47 PM, Jan Tatarik wrote: > There's still an issue. Pop-up notifications (notifications.el) > triggered by emacs make the cursor disappear. The cursor remains hidden > until emacs gets focus again. I'm not familiar with this code and don't know how the notifications popup window is created. Anyway, please try this tiny patch. Dmitry --------------020307040906090103080906 Content-Type: text/x-patch; name="bug17609_2.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bug17609_2.patch" === modified file 'src/menu.c' --- src/menu.c 2014-06-02 18:01:21 +0000 +++ src/menu.c 2014-06-03 12:29:28 +0000 @@ -1558,6 +1558,12 @@ string contents, because Fredisplay may GC and relocate them. */ Fredisplay (Qt); +#ifdef HAVE_X_WINDOWS + /* Don't confuse user with invisible cursor. */ + if (FRAME_X_P (f) && f->pointer_invisible) + FRAME_DISPLAY_INFO (f)->toggle_visible_pointer (f, 0); +#endif + #if defined USE_X_TOOLKIT || defined USE_GTK if (FRAME_WINDOW_P (f)) return xw_popup_dialog (f, header, contents); --------------020307040906090103080906-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 05 16:42:42 2014 Received: (at 17609) by debbugs.gnu.org; 5 Jun 2014 20:42:42 +0000 Received: from localhost ([127.0.0.1]:46137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WseUj-0004Or-JI for submit@debbugs.gnu.org; Thu, 05 Jun 2014 16:42:41 -0400 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:58901) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WseUf-0004Of-8g for 17609@debbugs.gnu.org; Thu, 05 Jun 2014 16:42:37 -0400 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 84DE184DB2; Thu, 5 Jun 2014 16:42:36 -0400 (EDT) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id F03A41E5B8B; Thu, 5 Jun 2014 16:42:07 -0400 (EDT) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id CC8D5B4167; Thu, 5 Jun 2014 16:42:07 -0400 (EDT) From: Stefan Monnier To: Dmitry Antipov Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X Message-ID: References: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> <5384D0C7.2090808@yandex.ru> <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> <53856360.5030401@yandex.ru> <87ppirqvlb.fsf@nb-jtatarik2.xing.hh> <538DC236.4000001@yandex.ru> Date: Thu, 05 Jun 2014 16:42:07 -0400 In-Reply-To: <538DC236.4000001@yandex.ru> (Dmitry Antipov's message of "Tue, 03 Jun 2014 16:40:22 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Spam-Status: No X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 17609 Cc: 17609@debbugs.gnu.org, Jan Tatarik X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) >> There's still an issue. Pop-up notifications (notifications.el) >> triggered by emacs make the cursor disappear. The cursor remains hidden >> until emacs gets focus again. > I'm not familiar with this code and don't know how the notifications popup > window is created. Anyway, please try this tiny patch. I'm still seeing disappearing cursors as well in trunk. These seem to be remaining bugs in the new Xfixes code in Emacs. I haven't tracked down a recipe yet, but I'll try and do that soon. In the mean time I have another related problem: Apparently the xfixes code itself is buggy in the xinerama X11 server: - when I hit a key in Emacs, the mouse cursor is not "undrawn" and so the drawing of that cursor lingers on the screen until the next time this part of the screen gets redisplayed. - better yet, the "undrawing" actually takes place but in the wrong screen (and with the wrong pixmap). So in the right screen I get lots of ghost cursors and in the left screen I get matching "square blobs". [ See https://bugs.freedesktop.org/show_bug.cgi?id=79703 ] So, while I'm not necessarily advocating reverting to the non-xfixes code, I think it would be good if the user could tell Emacs not to use xfixes, in order to work around these bugs. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 09 07:59:53 2020 Received: (at 17609) by debbugs.gnu.org; 9 Sep 2020 11:59:53 +0000 Received: from localhost ([127.0.0.1]:57604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFylV-0004sS-A1 for submit@debbugs.gnu.org; Wed, 09 Sep 2020 07:59:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFylT-0004sC-JB for 17609@debbugs.gnu.org; Wed, 09 Sep 2020 07:59:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ujToiebFHnYvsXkOLZobcsKhXGWpXui6PjOJuIetQ/I=; b=U2/BsVMjiZ4RQ0oVeHESazp5TU /F5+fnOfaDX9Rr/doS9mdNPZD6iLZn+XVea2WfVK16+0GgJ4P5er1ivZM8wn8b7P/zdSDuGxx1QdM owLAvYudDm8jvxBwV2X0geSN/cz1AxlEDYk3kf4TAQDCPSg5xQhOH7wcjvBXIK0Casbw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFylA-0002DS-0Y; Wed, 09 Sep 2020 13:59:44 +0200 From: Lars Ingebrigtsen To: Dmitry Antipov Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X References: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> <5384D0C7.2090808@yandex.ru> <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> <53856360.5030401@yandex.ru> <87ppirqvlb.fsf@nb-jtatarik2.xing.hh> <538DC236.4000001@yandex.ru> X-Now-Playing: Xiu Xiu's _Girl with Basket of Fruit_: "Mary Turner, Mary Turner" Date: Wed, 09 Sep 2020 13:59:30 +0200 In-Reply-To: <538DC236.4000001@yandex.ru> (Dmitry Antipov's message of "Tue, 03 Jun 2014 16:40:22 +0400") Message-ID: <877dt3cg9p.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dmitry Antipov writes: >> There's still an issue. Pop-up notifications (notifications.el) >> triggered by emacs make the cursor disappear. The cursor remains hidden >> until emacs gets focus again. > > I'm not familiar with [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17609 Cc: 17609@debbugs.gnu.org, Jan Tatarik , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dmitry Antipov writes: >> There's still an issue. Pop-up notifications (notifications.el) >> triggered by emacs make the cursor disappear. The cursor remains hidden >> until emacs gets focus again. > > I'm not familiar with this code and don't know how the notifications popup > window is created. Anyway, please try this tiny patch. [...] > +#ifdef HAVE_X_WINDOWS > + /* Don't confuse user with invisible cursor. */ > + if (FRAME_X_P (f) && f->pointer_invisible) > + FRAME_DISPLAY_INFO (f)->toggle_visible_pointer (f, 0); > +#endif > + > #if defined USE_X_TOOLKIT || defined USE_GTK > if (FRAME_WINDOW_P (f)) > return xw_popup_dialog (f, header, contents); This patch wasn't discussed or applied, as far as I can tell. This was six years ago, though -- is this still an issue? I can't recall seeing the cursor disappearing lately, at least. Stefan had some comments about xfixes in xinerama. The issue in the bug tracker there got no response, though: https://gitlab.freedesktop.org/xorg/driver/xf86-video-fbdev/-/issues/4 -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 09 07:59:58 2020 Received: (at control) by debbugs.gnu.org; 9 Sep 2020 11:59:59 +0000 Received: from localhost ([127.0.0.1]:57607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFyla-0004sk-KB for submit@debbugs.gnu.org; Wed, 09 Sep 2020 07:59:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFylZ-0004sL-Ei for control@debbugs.gnu.org; Wed, 09 Sep 2020 07:59:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KdBuGHq1yqw8bWVaRzW7YHj4UrZ3bGg8z7JtYwK2JzE=; b=mDH3C4maxMH6//qNa/PWiaSQdx Iy8pOPZG71iodMUS7I9ELfsc2kK6l8h7EnQb2/400TAiQuFlj9nrVCxpqdTDlYEZVzXHOQNkP8Mng 9ljsG/WzZpCqAz2XyNBSmHDtxTw9axSn0Sj9sXtBNmc1+G7QFSmsYEkJKzygnQH+R0t4=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFylR-0002Dd-Dh for control@debbugs.gnu.org; Wed, 09 Sep 2020 13:59:51 +0200 Date: Wed, 09 Sep 2020 13:59:48 +0200 Message-Id: <875z8ncg97.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17609 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 17609 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 17609 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 10:57:06 2020 Received: (at 17609) by debbugs.gnu.org; 6 Dec 2020 15:57:06 +0000 Received: from localhost ([127.0.0.1]:50866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klwPK-0001EZ-Cr for submit@debbugs.gnu.org; Sun, 06 Dec 2020 10:57:06 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klwPI-0001De-I4 for 17609@debbugs.gnu.org; Sun, 06 Dec 2020 10:57:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Q56U5Bz8DQdA7siTQQTMgutPjbKX1GAL/yptazDGmVc=; b=V0AiCAsmjm8MsgIqsDX5tZKBD3 YmVgv49K2iU8EgFx/HlKlylUIYY1ofPaWiP++xXrwj3Ju4DgmrnMJVFAiO39MpK/9UxjcAFwqZCLA AhnvLvvWmv2gNEuYTSPBGLtHK8EaDxeScXgGaxXlQfJTYXGOOb7JzWq9g2WZzKDu9jHk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klwP4-0005kB-9i; Sun, 06 Dec 2020 16:56:57 +0100 From: Lars Ingebrigtsen To: Dmitry Antipov Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X References: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh> <5384D0C7.2090808@yandex.ru> <87ppiz7zav.fsf@nb-jtatarik2.xing.hh> <53856360.5030401@yandex.ru> <87ppirqvlb.fsf@nb-jtatarik2.xing.hh> <538DC236.4000001@yandex.ru> <877dt3cg9p.fsf@gnus.org> X-Now-Playing: Magnus Granberg & Skogen's _Let Pass My Weary Guiltless Ghost_: "Let Pass My Weary Guiltless Ghost" Date: Sun, 06 Dec 2020 16:56:49 +0100 In-Reply-To: <877dt3cg9p.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 09 Sep 2020 13:59:30 +0200") Message-ID: <878sab7wse.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > This patch wasn't discussed or applied, as far as I can tell. > > This was six years ago, though -- is this still an issue? I can't > recall seeing the cursor disappearing lately, at least. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17609 Cc: 17609@debbugs.gnu.org, Jan Tatarik , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > This patch wasn't discussed or applied, as far as I can tell. > > This was six years ago, though -- is this still an issue? I can't > recall seeing the cursor disappearing lately, at least. More information was requested, but none was received, so I'm closing this bug report. If this is still an issue, please respond to the debbugs address and we'll reopen the report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 10:57:11 2020 Received: (at control) by debbugs.gnu.org; 6 Dec 2020 15:57:11 +0000 Received: from localhost ([127.0.0.1]:50869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klwPO-0001Es-M7 for submit@debbugs.gnu.org; Sun, 06 Dec 2020 10:57:11 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klwPN-0001ES-Ro for control@debbugs.gnu.org; Sun, 06 Dec 2020 10:57:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=moQohgKZd7JqfMxGm5j2tB9Gf9DPJrLlryoimPurDOk=; b=q9sWmf/6x2FsQjxcFoXuXbv3qe 9U03Z3dDD+xBalqqPMkAkg9dUTc9PdiZ/BeV6bvj0rRmxGbu9v/fKPcMzlv4nWA2eXv+APQi/GOSC icKm9wijQp4KK4XvA/vbY3zCFv7kKH8M2JmuO9OCRnHMrED1UVg7TTOHf4WOrgy/qZQE=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klwPG-0005kL-1r for control@debbugs.gnu.org; Sun, 06 Dec 2020 16:57:04 +0100 Date: Sun, 06 Dec 2020 16:57:00 +0100 Message-Id: <877dpv7ws3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #17609 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 17609 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 17609 quit From unknown Tue Aug 19 10:01:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 04 Jan 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator