* DEC MWM window placement
@ 1996-10-14 4:00 Jennifer Hopeman
1996-10-14 4:00 ` Ken Lee
1996-10-15 4:00 ` Jennifer Hopeman
0 siblings, 2 replies; 6+ messages in thread
From: Jennifer Hopeman @ 1996-10-14 4:00 UTC (permalink / raw)
I have a question regarding DEC mwm. When I place a window at (x,y) it puts
the upper left corner of the window area at that spot, NOT the upper corner
including the window decoration. On other machines (SUN, PC, HP) it puts the uupper left including the window decoration. This is how it should be done
according to a MOTIF manual that I found. Could someone tell me if my
observation is correct? Is DEC really doing things differently? Is it
configurable?
A second question. Is there any way to tell what type of platform your
window is being displayed on? I am interested in knowing if a certain
display is on a machine with DEC mwm.
Any help is appreciated.
Bill (not Jen)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DEC MWM window placement
1996-10-14 4:00 DEC MWM window placement Jennifer Hopeman
@ 1996-10-14 4:00 ` Ken Lee
1996-10-15 4:00 ` Rene Huber
1996-10-16 4:00 ` Marv Abe
1996-10-15 4:00 ` Jennifer Hopeman
1 sibling, 2 replies; 6+ messages in thread
From: Ken Lee @ 1996-10-14 4:00 UTC (permalink / raw)
In article <53uevb$lud@giant.seas.smu.edu>, hopeman@seas.smu.edu (Jennifer
Hopeman) writes:
|> I have a question regarding DEC mwm. When I place a window at (x,y) it puts
|> the upper left corner of the window area at that spot, NOT the upper corner
|> including the window decoration. On other machines (SUN, PC, HP) it puts the
|> uupper left including the window decoration.
Check your positionOnScreen resource setting. See the mwm man page
for details.
|> A second question. Is there any way to tell what type of platform your
|> window is being displayed on?
ServerVendor()
--
Ken Lee, X/Motif Consulting, http://www.rahul.net/kenton/index.shtml
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DEC MWM window placement
1996-10-14 4:00 ` Ken Lee
@ 1996-10-15 4:00 ` Rene Huber
1996-10-16 4:00 ` Marv Abe
1 sibling, 0 replies; 6+ messages in thread
From: Rene Huber @ 1996-10-15 4:00 UTC (permalink / raw)
kenton@rahul.net (Ken Lee) writes:
>In article <53uevb$lud@giant.seas.smu.edu>, hopeman@seas.smu.edu (Jennifer
>Hopeman) writes:
>|> I have a question regarding DEC mwm. When I place a window at (x,y) it puts
>|> the upper left corner of the window area at that spot, NOT the upper corner
>|> including the window decoration. On other machines (SUN, PC, HP) it puts the
>|> uupper left including the window decoration.
>Check your positionOnScreen resource setting. See the mwm man page
>for details.
Isn't that positionIsFrame ?
RH.
--
# Rene Huber \ / Wave-Front B.V. #
# rhuber@wavefront.nl \ PO box 3100, 7339 ZG Apeldoorn, Netherlands #
# Software Engineer / \ Phone/Fax: +31 55 5789057 #
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DEC MWM window placement
1996-10-14 4:00 DEC MWM window placement Jennifer Hopeman
1996-10-14 4:00 ` Ken Lee
@ 1996-10-15 4:00 ` Jennifer Hopeman
1996-10-16 4:00 ` Nicholas Young
1 sibling, 1 reply; 6+ messages in thread
From: Jennifer Hopeman @ 1996-10-15 4:00 UTC (permalink / raw)
I little looking and I found in the DECW$MWM.DAT file Mwm*positionIsFrame
which sets whether or not to include the border when positioning a window.
Sorry that I didn't look a little harder. Now I need to just find out how
to get this value in my program...
Bill
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DEC MWM window placement
1996-10-15 4:00 ` Jennifer Hopeman
@ 1996-10-16 4:00 ` Nicholas Young
0 siblings, 0 replies; 6+ messages in thread
From: Nicholas Young @ 1996-10-16 4:00 UTC (permalink / raw)
In article <5409dq$dbe@giant.seas.smu.edu>,
hopeman@seas.smu.edu (Jennifer Hopeman) wrote:
>I little looking and I found in the DECW$MWM.DAT file Mwm*positionIsFrame
>which sets whether or not to include the border when positioning a window.
>Sorry that I didn't look a little harder. Now I need to just find out how
>to get this value in my program...
Just use the standard resource mechanism. If you want to restrict it to one
application, use:
Mwm*<appname>*positionIsFrame: True (or False, whichever)
in your decw$mwm.dat file in decw$user_defaults: (usually = sys$login:).
If you really want to do it all in C or whatever, it's harder, but I can't
see why you would.
Nicholas.
Views expressed are mine. Please mail anything important; if you have
trouble with the return address, try nicholas@jessica.logica.co.uk.
"'Macbeth' is a play written by a man who, on this occasion at least,
if he had the talent, ought to have written a fairy tale." - JRRT.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DEC MWM window placement
1996-10-14 4:00 ` Ken Lee
1996-10-15 4:00 ` Rene Huber
@ 1996-10-16 4:00 ` Marv Abe
1 sibling, 0 replies; 6+ messages in thread
From: Marv Abe @ 1996-10-16 4:00 UTC (permalink / raw)
In article <53ugsl$se5@murrow.corp.sgi.com> kenton@rahul.net (Ken Lee) writes:
>In article <53uevb$lud@giant.seas.smu.edu>, hopeman@seas.smu.edu (Jennifer
>Hopeman) writes:
>|> I have a question regarding DEC mwm. When I place a window at (x,y) it puts
>|> the upper left corner of the window area at that spot, NOT the upper corner
>|> including the window decoration. On other machines (SUN, PC, HP) it puts the
>|> uupper left including the window decoration.
Try:
Mwm*positionIsFrame:
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1996-10-16 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-14 4:00 DEC MWM window placement Jennifer Hopeman
1996-10-14 4:00 ` Ken Lee
1996-10-15 4:00 ` Rene Huber
1996-10-16 4:00 ` Marv Abe
1996-10-15 4:00 ` Jennifer Hopeman
1996-10-16 4:00 ` Nicholas Young
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox