unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10002: frame-visible-p reporting t instead of 'icon
@ 2011-11-09  9:41 Antoine Levitt
  2011-11-09 10:42 ` Andreas Schwab
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Antoine Levitt @ 2011-11-09  9:41 UTC (permalink / raw)
  To: 10002

Hi,

Has there been any recent changes to the code that detects when a frame
is visible or not on GTK? I didn't find anything in bzr log, but I can't
be sure.

The following snippet sometimes (erratically) reports "t" when it should
report "icon". That started happening one, maybe two weeks ago.

(defun blah (&rest args)
  (pp(frame-visible-p (selected-frame))))

(run-with-timer 2 nil 'blah)

(eval the run-with-timer, switch virtual desktops for two seconds, come
back)

I'm using frame-visible-p to handle notifications (notify me when I
don't see what's happening in emacs), so this bug is pretty annoying.

It might be a bug in my display environment, but I haven't changed
anything in a while.

(for reference, I'm using gnome-panel with metacity on ubuntu 11.10)





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-09-10 17:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09  9:41 bug#10002: frame-visible-p reporting t instead of 'icon Antoine Levitt
2011-11-09 10:42 ` Andreas Schwab
2011-11-09 11:28   ` Antoine Levitt
2011-11-09 15:18 ` Jan D.
2011-11-09 15:33   ` Antoine Levitt
2011-11-29  9:38     ` Antoine Levitt
2011-11-29 18:09       ` Jan Djärv
2014-07-21 14:58 ` Oleh
2014-09-10 17:03   ` Jan Djärv

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).