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)