unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jan Tatarik <jan.tatarik@gmail.com>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: 17609@debbugs.gnu.org
Subject: bug#17609: 24.4.50; trunk r117096: disappearing cursor in X
Date: Mon, 02 Jun 2014 13:47:12 +0200	[thread overview]
Message-ID: <87ppirqvlb.fsf@nb-jtatarik2.xing.hh> (raw)
In-Reply-To: <87lhtnnxpy.fsf@nb-jtatarik2.xing.hh>

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.





  parent reply	other threads:[~2014-06-02 11:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-27 13:43 bug#17609: 24.4.50; trunk r117096: disappearing cursor in X Jan Tatarik
2014-05-27 17:52 ` Dmitry Antipov
2014-05-27 20:16   ` Jan Tatarik
2014-05-27 23:30     ` Stefan Monnier
2014-05-28  4:17     ` Dmitry Antipov
2014-05-28  7:44       ` Jan Tatarik
2014-06-02 11:47       ` Jan Tatarik [this message]
2014-06-03 12:40         ` Dmitry Antipov
2014-06-05 20:42           ` Stefan Monnier
2020-09-09 11:59           ` Lars Ingebrigtsen
2020-12-06 15:56             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppirqvlb.fsf@nb-jtatarik2.xing.hh \
    --to=jan.tatarik@gmail.com \
    --cc=17609@debbugs.gnu.org \
    --cc=dmantipov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).