home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!relay!relay2!afterlife!adm!news
- From: jj@aquarium.esd.sgi.com (Jennifer Jacobi)
- Newsgroups: comp.sys.sgi
- Subject: Re: Borders of fixed-sized windows
- Message-ID: <34570@adm.brl.mil>
- Date: 12 Dec 92 10:11:13 GMT
- Sender: news@adm.brl.mil
- Lines: 39
-
-
- 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
-