[comp.windows.open-look] olvwm question

lamour@gong.mitre.org (Michael Lamoureux) (05/30/91)

	I read the man page when I installed it, and I don't remember
seeing any way to make a window sticky on startup (like a -sticky
flag or something).  I'd just like to be able to make certain
instances of a class of objects sticky by default, and not necessarily
the whole class.  Did I miss something in the man page, or is there
really no way to do this?

Thanks,
Michael
lamour@mitre.org

marc@sequoia.cray.com (Marc Bouron) (05/31/91)

In article <1991May29.203147.9958@linus.mitre.org>, lamour@gong.mitre.org (Michael Lamoureux) writes:
> 	I read the man page when I installed it, and I don't remember
> seeing any way to make a window sticky on startup (like a -sticky
> flag or something).  I'd just like to be able to make certain
> instances of a class of objects sticky by default, and not necessarily
> the whole class.  Did I miss something in the man page, or is there
> really no way to do this?

In your .Xdefaults, you can set a resource called olvwm.VirtualSticky.  This is
followed by a list of applications that you want to be sticky, in much the same
way as you would use the OpenWindows.MinimalDecor resource.

> Thanks,
> Michael
> lamour@mitre.org

[M][a][r][c]


################################################################################
#                           #  marc@sequoia.cray.com           #     .   .     #
#  Marc CR Bouron           #  M.Bouron@cray.co.uk     (ARPA)  #    _|\ /|_    #
#  Cray Research (UK) Ltd.  #  M.Bouron@crayuk.uucp  (DOMAIN)  #   (_|_V_|_)   #
#  +44 344 485971 x2208     #  M.Bouron@uk.co.cray    (JANET)  #     |   |     #
#                           #  ...!ukc!crayuk!M.Bouron (UUCP)  #               #
################################################################################

lamour@gong.mitre.org (Michael Lamoureux) (05/31/91)

In article <065224.2587@timbuk.cray.com>, marc@sequoia.cray.com (Marc Bouron) writes:
|> 
|> In article <1991May29.203147.9958@linus.mitre.org>, lamour@gong.mitre.org (Michael Lamoureux) writes:
|> > I'd just like to be able to make certain
|> > instances of a class of objects sticky by default, and not necessarily
|> > the whole class.
|> 
|> In your .Xdefaults, you can set a resource called olvwm.VirtualSticky.
|> This is followed by a list of applications that you want to be sticky,
|> in much the same way as you would use the OpenWindows.MinimalDecor
|> resource.

	Sure, but that only works at the class level.  Scott Oaks sent
me the following reply, and I really hate to say it, but I don't really
know what he's saying.  Is there a generic X flag for setting the
WM_INSTANCE string?  Basically what I'm tring to do is get it so I don't
have to physically set my console window to sticky every time I log in.
I don't, however, want any of my other cmdtools or xterms to be sticky.
(maybe my question was poorly worded...or maybe I'm as lost as I sound ;-)

Thanks again,
Michael
lamour@mitre.org

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Date: Thu, 30 May 91 09:35:16 EDT
From: sdo@soliado.East.Sun.COM (Scott Oaks - Sun Consulting NYC)

The OpenWindows.VirtualSticky resource defines which applications come
up sticky.  It tries to match WM_CLASS and WM_INSTANCE strings, so if you
are able to set the WM_INSTANCE property of your tool, you get
a particular instance to be sticky.

-sdo