[Window] Fix focus with metacity-2.22
authorIra W. Snyder <devel@irasnyder.com>
Mon, 7 Apr 2008 21:14:52 +0000 (14:14 -0700)
committerIra W. Snyder <devel@irasnyder.com>
Mon, 7 Apr 2008 21:14:52 +0000 (14:14 -0700)
commit1e9796f7b425e6d72ac10934045053b1692d42ca
tree826d005c23d29d747728ed980fab48ce108205fa
parent4756b2cd7f8bd09df94e52d8ba960bfea64db63f
[Window] Fix focus with metacity-2.22

Metacity-2.22 broke our old hack to get the focus. This hack was
suggested by the folks on GNOME's IRC channel.

I left the old _NET_WM_USER_TIME hack in place, because it does
not seem to cause any problems. It didn't seem to matter if I
removed it either, though.

Tested Window Managers:
Metacity-2.20.2
Metacity-2.22.0
KWin-3.5.9
Fluxbox-1.0.0
Openbox-3.4.7_pre3
tilda-window.c