bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10002: frame-visible-p reporting t instead of 'icon


From: Antoine Levitt
Subject: bug#10002: frame-visible-p reporting t instead of 'icon
Date: Wed, 09 Nov 2011 10:41:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]