DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
OSF/Motif window manager resources

Resources for controlling window size and position

The following resources control the size and location of windows:

Window size and position resources

Name Class Value type Default
Size resources
frameBorderWidth FrameBorderWidth pixels 5
limitResize LimitResize true/false true +
maximumClientSize MaximumClientSize wxh fill the screen
maximumMaximumSize MaximumMaximumSize wxh 2X screen
resizeBorderWidth ResizeBorderWidth pixels varies
resizeCursors ResizeCursors true/false true
Position resources
clientAutoPlace ClientAutoPlace true/false true
interactivePlacement InteractivePlacement true/false false
moveOpaque MoveOpaque true/false false
moveThreshold MoveThreshold pixels 4
positionIsFrame PositionIsFrame true/false true
positionOnScreen PositionOnScreen true/false false
showFeedback ShowFeedback string all
Other resources
enableWarp EnableWarp true/false true


+
In pmwm mode, this resource is set to ``false''.

These resources are described in more detail below:

clientAutoPlace (Class: ClientAutoPlace)
This resource affects how the window manager places a client's window on the screen. If clientAutoPlace is ``true,'' the window manager positions each window with the upper left corner of the frame offset horizontally and vertically so that no two windows completely overlap. The default for clientAutoPlace is ``true.'' (This is a specific appearance and behavior resource.)

enableWarp (Class: EnableWarp)
If this resource is ``true,'' the window manager moves the mouse pointer (``warps'' it) to the center of the window being resized and moves through keyboard accelerators (key combinations that activate menu options without displaying the menu.) If enableWarp is ``false,'' the pointer is left at its previous position. The default setting is ``true.'' (This is a specific appearance and behavior resource.)

frameBorderWidth (Class: FrameBorderWidth)
This resource specifies the width, in pixels, of the window frame border. This border width includes the three-dimensional shadows. The default value is 5 pixels. (This is a specific appearance and behavior resource.)

interactivePlacement (Class: InteractivePlacement)
If this resource is ``true,'' the window manager prompts you for the position of each new window. You must press the mouse button to indicate where the window should be placed. By default, this resource is ``false'' and the window manager does not prompt you for the window position. (This is a specific appearance and behavior resource.)

limitResize (Class: LimitResize)
If this resource is ``true,'' you cannot resize a window so it is larger than the maximum size. The default value for pmwm mode is ``false,'' and ``true'' for mwm mode. (This is a specific appearance and behavior resource.)

maximumClientSize (Class: MaximumClientSize)
This resource sets the size of the client's window when it is maximized. Its value is widthxheight, in pixels. For example, if you have a display that uses a resolution of 800x600 and you want a client window that can be resized to twice the size of your screen, you would supply this resource a value of ``1600x1200''. If this resource is not set, the maximum size is such that the window fills the screen. Values assigned to this resource override values specified for the maximumMaximumSize resource. (This is a client-specific resource.)

maximumMaximumSize (Class: MaximumMaximumSize)
This resource sets the upper limit on the maximum size that you can specify for a client window. The dimensions are given in pixels. For example, if you set this resource to ``800x600,'' client windows cannot be larger than 800x600 pixels. The default value is twice the size of your screen. For example, if your display is 800x600 pixels, the default value for this resource would be ``1600x1200''. (This is a specific appearance and behavior resource.)

moveOpaque (Class: MoveOpaque) This resource is used to control the appearance of a window while it is being dragged. When ``true,'' the entire window moves instead of just the wire frame. The default value is ``false.'' (This is a specific appearance and behavior resource.)

moveThreshold (Class: MoveThreshold)
This resource controls how sensitive the window manager is to mouse drag operations. The value is interpreted as the number of pixels by which the mouse must move before the window manager reacts to it. The default value is 4 pixels. (This is a specific appearance and behavior resource.)

positionIsFrame (Class: PositionIsFrame)
This resource specifies how the window manager interprets the information about a client window's position as it appears in the WM_NORMAL_HINTS property or in geometry specifications. If this resource is ``true,'' the position is taken to be that of the frame placed around the client window by the window manager; otherwise the position is that of the client window alone. The default value is ``true.'' (This is a specific appearance and behavior resource.)

positionOnScreen (Class: PositionOnScreen)
If this resource is ``true,'' the window manager places a client window entirely inside the screen. If the window's size exceeds the screen size, the window manager places the upper left corner of the window within the boundaries of the screen. The default value is ``false,'' in which case, the window is located according to its defined geometry, even if that location is off the screen. (This is a specific appearance and behavior resource.)

resizeBorderWidth (Class: ResizeBorderWidth)
This resource specifies the width, in pixels, of a window frame that allows you to resize the window by dragging the border. For mwm mode, the default value is 5, 7, or 10 pixels, depending on the resolution of your display. For pmwm mode, the default is 8 pixels. (This is a specific appearance and behavior resource.)

resizeCursors (Class: ResizeCursors)
If this resource is ``true,'' the cursor changes shape to indicate that the resize operation is available whenever the mouse pointer enters the window frame. By default, this resource is set to ``false''; the cursor does not change shape when the pointer is focused on the window frame. (This is a specific appearance and behavior resource.)

showFeedback (Class: ShowFeedback)
This resource specifies when the window manager displays feedback information, which includes dialog boxes and boxes displaying window size and position during move and resize operations. The value of this resource is a combination of one or more of the following names:


The default for the showFeedback resource is ``all.'' You specify new values for this resource in two ways: (This is a specific appearance and behavior resource.)

Next topic: Resources for configuring window manager icons
Previous topic: Window decoration resources

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005