Xfce

Subdomains
 

_NET_ACTIVE_WINDOW tricks for new panel widget

  • October 27, 2004
  • Jasper Huijsmans

As some of you may know, I have been working on creating some custom gtk widgets to be used for the panel (in Xfce 4.4). Well, some time ago I read this post on the wmspec mailing list that explains a trick that makes the kde panel work nicer.

The idea is that windows that set the dock type hint will not receive focus unless they specifically request it using a _NET_ACTIVE_WINDOW message. This has the nice effect that clicking on something on the panel will not remove the focus from the window you were working with.

Screenshot. This doesn’t show what I talked about, but what good is a blog entry without a screenshot? ;-)