GNOME Bugzilla – Bug 161736
Needs to send a _NET_ACTIVE_WINDOW message when clicked on
Last modified: 2005-01-08 01:19:26 UTC
See bug 161735 for more details; basically Metacity won't be focusing the panel on click unless it receives a _NET_ACTIVE_WINDOW message for the panel. So, in order for the command line applet to work, it needs to send such a message.
So this is going to break mini-commander, gdict, and contact-lookup-applet (as well as possibly others). However there is no way for them to send this focus request without solving 161736? *whimpers*
Uhm....yeah. Sorry. I have some patches against libpanel-applet for 161735, and for gdict to test things out. But those patches tried a different solution that didn't quite work (they were at least close--if I had the appropriate window id for the containing panel, it would have...)
I'm leaving the GNOME 2.10 milestone on this one; we can't break these applets, can we?
Created attachment 35591 [details] [review] Request focus when clicked on This patch fixes the problem, though it depends on the patch in bug 161735 being applied first (and thus being accepted first)...
The patch in bug 161735 has been committed. Okay to commit this patch?
Yeah, that seems fine. I trust your judgement on this.
committed.
Oops. As Mark pointed out, I should have updated configure.in to depend on the newest libpanel-applet. Okay to commit the following change? Index: configure.in =================================================================== RCS file: /cvs/gnome/gnome-applets/configure.in,v retrieving revision 1.350 diff -p -u -r1.350 configure.in --- configure.in 7 Jan 2005 16:35:19 -0000 1.350 +++ configure.in 7 Jan 2005 19:06:01 -0000 @@ -28,7 +28,7 @@ LIBGNOMEUI_REQUIRED=2.8.0 GNOME_VFS_REQUIRED=2.8.0 GCONF_REQUIRED=2.8.0 SCROLLKEEPER_REQUIRED=0.1.4 -LIBPANEL_REQUIRED=2.8.0 +LIBPANEL_REQUIRED=2.9.4 LIBGTOP_REQUIRED=2.8.0 LIBGLADE_REQUIRED=2.4.0 LIBGAIL_REQUIRED=1.1.0
Yep (although I'm now going to have to start running CVS panel again).
ok, done. Thanks.