Re: FVWM: WM_WINDOW_ROLE

From: Thomas Adam <thomas_adam16_at_yahoo.com>
Date: Wed, 28 Jan 2004 01:27:32 +0000 (GMT)

 --- Hans Fugal <hans_at_fugal.net> wrote:

> /* Quoth Mikhael Goikhman <migo_at_homemail.com>
> on Wed, 28 Jan 2004 at 00:34 +0000
> in <20040128003416.GB8144_at_SDF.LONESTAR.ORG> */
> > Does Gaim also set the same window name (WM_NAME) for all its windows?
> > If this is the case, then ask them to fix this.
>
> For the buddy list window:
> WM_NAME(STRING) = "Buddy List"
>
> For the conversation window:
> WM_NAME(STRING) = "Jacob"
> (it changes depending on who the conversation is with)
>
> So I suppose I could do something like the following?
>
> Style Gaim Sticky
> Style "Buddy List" NoSticky

That should work. If you get any problems you might consider switching to
FvwmEvent
 
> Are they really doing the right thing by not using a different resource?

It depends on how the program is written and whether the programmer(s) in
question look at the ICCCM for guidelines.

> Or has everyone done the wrong thing for so long that few window
> managers support the WM_WINDOW_ROLE method? (I've had the same trouble
> with WindowMaker in the past)

It's not that they don't support WM_MODULE_ROLE, it is just that it is
easier to depict windows based on class/name.

-- Thomas Adam

=====
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor" -- http://linuxgazette.net

"<shrug> We'll just save up your sins, Thomas, and punish
you for all of them at once when you get better. The
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)

________________________________________________________________________
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Jan 27 2004 - 19:30:14 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST