* Jan Djärv (2007-01-04 12:42 +0100) said:
^^^^^^^^^
Metacity (the default Gnome window manager) is a complete mess when
it comes to raise frame. Some versions works, some don't. Some
require the code below, some don't. In some configurations
(i.e. focus on click vs. focus on mouse) raise frame works, in some
raise frame don't work.
We must give up on creating workarounds for Metacity, and just tell
people that metacity is buggy. Ufortunately they have to figure out
a workaround for themselves and their specific verion/configuration
of metacity.
Havoc Pennington from Redhat has commented on this bug¹:
"I don't know if it's the problem, but the timestamp sent by that
Emacs code is gibberish, which could break something even if it isn't
the issue here. (Assuming I understand the Emacs code.)
I don't believe raise-frame is intended to unconditionally work in
metacity, btw. This is legitimate window manager behavior and no spec
requires that the WM unconditionally honors a raise request."