[Top][All Lists]

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

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

From: Jan D.
Subject: bug#10002: frame-visible-p reporting t instead of 'icon
Date: Wed, 09 Nov 2011 16:18:37 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1


Are you running Gnome 3 or Unity by any chance?
See here: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9893.

        Jan D.

Antoine Levitt skrev 2011-11-09 10:41:

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

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]