Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!newstop!eastapps!piccolo.East.Sun.COM!sdo From: sdo@piccolo.East.Sun.COM (Scott Oaks - Sun Consulting NYC) Newsgroups: comp.windows.open-look Subject: Re: A suggestion for sticky windows in a .Xdefaults file for olvwm Keywords: olvwm sticky Message-ID: <6104@eastapps.East.Sun.COM> Date: 13 May 91 15:57:43 GMT References: <1991May3.000802.29165@wlbr.imsd.contel.com> <1077@redford.UUCP> <1991May9.174620.8589@wlbr.imsd.contel.com> <585@kepler1.kepler.com> Sender: news@East.Sun.COM Organization: Sun Microsystems, Mt. View, Ca. Lines: 19 >> >> What do you think about using the window titles for determining what >> should be sticky ?? You could have a resource that is a list of regular >> expressions. If one of the expressions matches the window title the >> window would be made sticky. > > The WM_CLASS attribute is designed just for this type of idetification >of windows. I don't belive the title bar would work nearlly as well. For these reasons, the WM_CLASS and WM_INSTANCE variables are checked. However, since deskset applications and most XView applications don't set these, I'm planning on allowing the WM_NAME field -- which is what gets displayed in the title bar -- as well. But since xrdb munges multi-worded symbols, it's not clear what form this will take. -sdo -- -sdo (sdo@piccolo.east.sun.COM)