Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!infonode!ingr!b11!davis From: davis@b11.ingr.com (Chris Davis) Newsgroups: comp.windows.x.motif,ingr.x Subject: Re: Setting win decoration from within an app. Message-ID: <1991Feb20.144320.11503@b11.ingr.com> Date: 20 Feb 91 14:43:20 GMT References: <1991Feb18.171524.104@infonode.ingr.com> Organization: Intergraph Corp. Huntsville, AL Lines: 28 jon@infonode.ingr.com (Jon Stone) writes: >I want to be able to create some windows running under mwm, and have no >borders placed on the window at all by mwm. I want to perform this >function from within the app, instead of using the "clientDecoration: >none" in the user's resource file. If you use any shell widget that has a VendorShell subclass, you will have programmatic access to a resource called "XmNmwmDecorations". This resource allows you to set the decorations of the shell window. A couple of comments on VendorShell and this resource: Note that this resource is of type int, and there isn't any very specific documentation on what values are valid for this resource. You will have to experiment with it. You might want to use an app-defaults file at first to find out what numbers correspond to what decorations, and then hard code it in your application once you establish the desired results. This may be obvious, but note that this widget does NOT cooperate well with ANY window manager BUT mwm. -- chris davis graphics standards integegration b11!nuwave!davis