home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!ornl!utkcs2!emory!wupost!sdd.hp.com!think.com!ames!sgi!twilight!zola!aquarium!jj
- From: jj@aquarium.esd.sgi.com (Jennifer Jacobi)
- Subject: Re: Borders of fixed-sized windows
- Message-ID: <tfk9p64@zola.esd.sgi.com>
- Keywords: client decorations
- Sender: news@zola.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- References: <34497@adm.brl.mil>
- Date: Fri, 11 Dec 92 18:20:33 GMT
- Lines: 41
-
-
- In article <34497@adm.brl.mil>, drew+@cs.cmu.edu writes:
- > I'm using Xlib, and I'm trying to create a window that
- > will have a constant size. (The user will be unable
- > to adjust the size of the window.)
- >
- > However! 4Dwm leaves the window resize handle decorations
- > on the window, even though they're useless. Is there
- > any way to get rid of them from within my program?
- >
- > It would be way keen if 4Dwm was smart enough to notice that
- > "minsize equals maxsize" and then ditch the resize handles.
-
-
- Never ask how "smart" a window manager is -- it's dangerous.
- 8-)
-
-
- What you can do however is the following:
-
- 1) In your .Xdefaults file you can place the line
-
- 4Dwm*<appClass>.clientDecoration: title
-
- This will take the min and max buttons away as well as the resize handles
- around the boarder. This also works for mwm. (YOU MUST restart the
- window manager before this will take effect -- this is a window manager
- resource.)
-
- OR
-
- 2) Programatically you can set mwm or 4Dwm window manager hints to
- do the same thing.
-
- You will find this in OSF Motif programmer's guide (1.1) page 12-13.
-
-
- --jj
- jj@sgi.com
-
-
-