TIP: | 231 |
Title: | Support for [wm attributes] on X11 |
Version: | $Revision: 1.7 $ |
Author: | Joe English <jenglish at flightlab dot com> |
State: | Final |
Type: | Project |
Tcl-Version: | 8.5 |
Vote: | Done |
Created: | Saturday, 06 November 2004 |
This TIP adds three UNIX/X11-specific attributes to the wm attributes command to take advantage of features newer Unix window manager control standards.
This TIP proposes to add support for the following window attributes under X11 in the wm attributes command:
-fullscreen
This attribute has the same meaning as the equivalent option for Windows (see TIP #223) with one restriction (outlined below).
-topmost
This attribute has the same meaning as the equivalent option for Windows (see TIP #95) with one restriction (outlined below).
-zoomed
This attribute requests that the window be maximized; it is the same as [wm state win zoomed] on Windows, subject to the restriction outlined below.
Under X11, the -fullscreen, -topmost, and -zoomed attributes require cooperation from the window manager. If the window manager does not support these attributes, setting them will have no effect. In particular, they are not supported by older window managers like MWM and DTWM.
Under X11, the wm attributes command operates asynchronously: [wm attributes -attribute] returns the current value of the attribute, which will not be the same as the value most recently set if the window manager has not yet processed the request or if it does not support the attribute.
See patch #1062022 [1] which is based on the freedesktop.org Extended Window Manager Hints specification [2].
This document has been placed in the public domain.
[Index] [History] [HTML Format] [Source Format] [LaTeX Format] [Text Format] [XML Format] [*roff Format (experimental)] [RTF Format (experimental)]
TIP AutoGenerator - written by Donal K. Fellows