GNU bug report logs - #17609
24.4.50; trunk r117096: disappearing cursor in X

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jan Tatarik <jan.tatarik@HIDDEN>; dated Tue, 27 May 2014 15:40:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 17609 <at> debbugs.gnu.org:


Received: (at 17609) by debbugs.gnu.org; 5 Jun 2014 20:42:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 05 16:42:42 2014
Received: from localhost ([127.0.0.1]:46137 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WseUj-0004Or-JI
	for submit <at> 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 <monnier@HIDDEN>) id 1WseUf-0004Of-8g
 for 17609 <at> 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 <monnier@HIDDEN>
To: Dmitry Antipov <dmantipov@HIDDEN>
Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X
Message-ID: <jwv1tv3yvxd.fsf-monnier+emacsbugs@HIDDEN>
References: <87lhtnnxpy.fsf@HIDDEN> <5384D0C7.2090808@HIDDEN>
 <87ppiz7zav.fsf@HIDDEN> <53856360.5030401@HIDDEN>
 <87ppirqvlb.fsf@HIDDEN> <538DC236.4000001@HIDDEN>
Date: Thu, 05 Jun 2014 16:42:07 -0400
In-Reply-To: <538DC236.4000001@HIDDEN> (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@HIDDEN
X-Spam-Status: No
X-Spam-Score: -3.0 (---)
X-Debbugs-Envelope-To: 17609
Cc: 17609 <at> debbugs.gnu.org, Jan Tatarik <jan.tatarik@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17609; Package emacs. Full text available.

Message received at 17609 <at> debbugs.gnu.org:


Received: (at 17609) by debbugs.gnu.org; 3 Jun 2014 12:40:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 03 08:40:41 2014
Received: from localhost ([127.0.0.1]:41790 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wro17-0001xa-6V
	for submit <at> 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 <dmantipov@HIDDEN>) id 1Wro10-0001xA-6u
 for 17609 <at> 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@HIDDEN>
Date: Tue, 03 Jun 2014 16:40:22 +0400
From: Dmitry Antipov <dmantipov@HIDDEN>
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 <jan.tatarik@HIDDEN>
Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X
References: <87lhtnnxpy.fsf@HIDDEN>
 <5384D0C7.2090808@HIDDEN>	<87ppiz7zav.fsf@HIDDEN>
 <53856360.5030401@HIDDEN> <87ppirqvlb.fsf@HIDDEN>
In-Reply-To: <87ppirqvlb.fsf@HIDDEN>
Content-Type: multipart/mixed; boundary="------------020307040906090103080906"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 17609
Cc: 17609 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17609; Package emacs. Full text available.

Message received at 17609 <at> debbugs.gnu.org:


Received: (at 17609) by debbugs.gnu.org; 2 Jun 2014 13:39:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 02 09:39:49 2014
Received: from localhost ([127.0.0.1]:40458 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WrSSm-00010V-Rb
	for submit <at> 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 <jan.tatarik@HIDDEN>) id 1WrSSg-00010C-MJ
 for 17609 <at> 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 <at> 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 <multiple recipients>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Mon, 02 Jun 2014 06:39:32 -0700 (PDT)
From: Jan Tatarik <jan.tatarik@HIDDEN>
To: Dmitry Antipov <dmantipov@HIDDEN>
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@HIDDEN> <5384D0C7.2090808@HIDDEN>
 <87ppiz7zav.fsf@HIDDEN> <53856360.5030401@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
Message-ID: <87ppirqvlb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: 17609
Cc: 17609 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17609; Package emacs. Full text available.

Message received at 17609 <at> debbugs.gnu.org:


Received: (at 17609) by debbugs.gnu.org; 28 May 2014 07:44:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 28 03:44:42 2014
Received: from localhost ([127.0.0.1]:33975 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WpYXS-0002n2-0j
	for submit <at> 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 <jan.tatarik@HIDDEN>) id 1WpYXP-0002mj-5y
 for 17609 <at> 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 <at> 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 <multiple recipients>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Wed, 28 May 2014 00:44:32 -0700 (PDT)
From: Jan Tatarik <jan.tatarik@HIDDEN>
To: Dmitry Antipov <dmantipov@HIDDEN>
Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X
References: <87lhtnnxpy.fsf@HIDDEN> <5384D0C7.2090808@HIDDEN>
 <87ppiz7zav.fsf@HIDDEN> <53856360.5030401@HIDDEN>
Date: Wed, 28 May 2014 09:44:27 +0200
In-Reply-To: <53856360.5030401@HIDDEN> (Dmitry Antipov's message of "Wed,
 28 May 2014 08:17:36 +0400")
Message-ID: <87k3968i04.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17609; Package emacs. Full text available.

Message received at 17609 <at> debbugs.gnu.org:


Received: (at 17609) by debbugs.gnu.org; 28 May 2014 04:17:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 28 00:17:47 2014
Received: from localhost ([127.0.0.1]:33902 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WpVJC-0004GI-GE
	for submit <at> 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 <dmantipov@HIDDEN>) id 1WpVJ9-0004G0-Be
 for 17609 <at> 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@HIDDEN>
Date: Wed, 28 May 2014 08:17:36 +0400
From: Dmitry Antipov <dmantipov@HIDDEN>
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 <jan.tatarik@HIDDEN>
Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X
References: <87lhtnnxpy.fsf@HIDDEN> <5384D0C7.2090808@HIDDEN>
 <87ppiz7zav.fsf@HIDDEN>
In-Reply-To: <87ppiz7zav.fsf@HIDDEN>
Content-Type: multipart/mixed; boundary="------------030902070901010705060700"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 17609
Cc: 17609 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17609; Package emacs. Full text available.

Message received at 17609 <at> debbugs.gnu.org:


Received: (at 17609) by debbugs.gnu.org; 27 May 2014 23:30:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 27 19:30:10 2014
Received: from localhost ([127.0.0.1]:33796 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WpQos-00047l-5z
	for submit <at> 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 <monnier@HIDDEN>) id 1WpQop-00046V-FA
 for 17609 <at> 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 <monnier@HIDDEN>
To: Jan Tatarik <jan.tatarik@HIDDEN>
Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X
Message-ID: <jwvbnuipzrc.fsf-monnier+emacsbugs@HIDDEN>
References: <87lhtnnxpy.fsf@HIDDEN> <5384D0C7.2090808@HIDDEN>
 <87ppiz7zav.fsf@HIDDEN>
Date: Tue, 27 May 2014 19:30:00 -0400
In-Reply-To: <87ppiz7zav.fsf@HIDDEN> (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 <dmantipov@HIDDEN>, 17609 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17609; Package emacs. Full text available.

Message received at 17609 <at> debbugs.gnu.org:


Received: (at 17609) by debbugs.gnu.org; 27 May 2014 20:16:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 27 16:16:23 2014
Received: from localhost ([127.0.0.1]:33702 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WpNnK-0007Ri-Il
	for submit <at> 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 <jan.tatarik@HIDDEN>) id 1WpNnI-0007RS-Rr
 for 17609 <at> 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 <at> 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 <multiple recipients>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Tue, 27 May 2014 13:16:14 -0700 (PDT)
From: Jan Tatarik <jan.tatarik@HIDDEN>
To: Dmitry Antipov <dmantipov@HIDDEN>
Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X
References: <87lhtnnxpy.fsf@HIDDEN> <5384D0C7.2090808@HIDDEN>
Date: Tue, 27 May 2014 22:16:08 +0200
In-Reply-To: <5384D0C7.2090808@HIDDEN> (Dmitry Antipov's message of "Tue,
 27 May 2014 21:52:07 +0400")
Message-ID: <87ppiz7zav.fsf@HIDDEN>
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 <at> debbugs.gnu.org, Jan Tatarik <jan.tatarik@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17609; Package emacs. Full text available.

Message received at 17609 <at> debbugs.gnu.org:


Received: (at 17609) by debbugs.gnu.org; 27 May 2014 17:52:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 27 13:52:25 2014
Received: from localhost ([127.0.0.1]:33645 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WpLXx-00034m-1Q
	for submit <at> 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 <dmantipov@HIDDEN>) id 1WpLXr-00034V-Gp
 for 17609 <at> 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@HIDDEN>
Date: Tue, 27 May 2014 21:52:07 +0400
From: Dmitry Antipov <dmantipov@HIDDEN>
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 <jan.tatarik@HIDDEN>
Subject: Re: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X
References: <87lhtnnxpy.fsf@HIDDEN>
In-Reply-To: <87lhtnnxpy.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#17609; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 May 2014 15:39:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 27 11:39:31 2014
Received: from localhost ([127.0.0.1]:33555 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WpJTK-00070n-TL
	for submit <at> 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 <jan.tatarik@HIDDEN>) id 1WpHfk-0003v8-Ka
 for submit <at> 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 <jan.tatarik@HIDDEN>) id 1WpHfZ-0003T5-EA
 for submit <at> 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 <jan.tatarik@HIDDEN>) id 1WpHfZ-0003Sz-Ap
 for submit <at> 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 <jan.tatarik@HIDDEN>) id 1WpHfT-0008Ii-AY
 for bug-gnu-emacs@HIDDEN; Tue, 27 May 2014 09:43:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jan.tatarik@HIDDEN>) id 1WpHfM-0003Qe-Dl
 for bug-gnu-emacs@HIDDEN; 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 <jan.tatarik@HIDDEN>) id 1WpHfM-0003QP-6d
 for bug-gnu-emacs@HIDDEN; Tue, 27 May 2014 09:43:44 -0400
Received: by mail-wg0-f48.google.com with SMTP id k14so5284477wgh.19
 for <bug-gnu-emacs@HIDDEN>; 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 <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Tue, 27 May 2014 06:43:41 -0700 (PDT)
From: Jan Tatarik <jan.tatarik@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.4.50; trunk r117096: disappearing cursor in X
Date: Tue, 27 May 2014 15:43:37 +0200
Message-ID: <87lhtnnxpy.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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@HIDDEN
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





Acknowledgement sent to Jan Tatarik <jan.tatarik@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#17609; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.