From 7a03fdebe838095055070362a1bfb9fcddc20aa6 Mon Sep 17 00:00:00 2001 From: matthiasc Date: Mon, 16 Sep 2002 22:46:03 +0000 Subject: EWMH draft update. --- wm-spec/wm-spec.sgml | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) (limited to 'wm-spec') diff --git a/wm-spec/wm-spec.sgml b/wm-spec/wm-spec.sgml index 7836064..4a2d4b9 100644 --- a/wm-spec/wm-spec.sgml +++ b/wm-spec/wm-spec.sgml @@ -1,6 +1,6 @@ - + ]>
@@ -328,8 +328,10 @@ If the number of desktops is shrinking and _NET_CURRENT_DESKTOP is out of the ne _NET_DESKTOP_GEOMETRY width, height, CARDINAL[2]/32 ]]> -Array of two cardinals that defines the common size of all desktops. -This property SHOULD be set by the Window Manager. + Array of two cardinals that defines the common size of all desktops + (this is equal to the screen size if the Window Manager doesn't support + large desktops, otherwise it's equal to the virtual size of the + desktop). This property SHOULD be set by the Window Manager. A Pager can request a change in the desktop geometry by sending a _NET_DESKTOP_GEOMETRY client @@ -641,12 +643,21 @@ _NET_MOVERESIZE_WINDOW window = window to be moved or resized message_type = _NET_MOVERESIZE_WINDOW format = 32 - data.l[0] = gravity - data.l[1] = x + data.l[0] = gravity and flags + data.l[1] = x data.l[2] = y data.l[3] = width data.l[4] = height ]]> + + The low byte of data.l[0] contains the gravity to use; it may contain + any value allowed for the WM_SIZE_HINTS.win_gravity property: + NorthWest (1), North (2), NorthEast (3), West (4), Center (5), East + (6), SouthWest (7), South (8), SouthEast (9) and Static (10). A + gravity of 0 indicates that the Window Manager should use the gravity + specified in WM_SIZE_HINTS.win_gravity. The bits 8 to 11 indicate the + presence of x, y, width and height. + Pagers wanting to move or resize a window may send a _NET_MOVERESIZE_WINDOW client message request to the root window @@ -1526,11 +1537,11 @@ attempt to kill a process. -WM_CLIENT_MACHINE must be set to the fully-qualified domain name of the client's -host. This would normally be retrieved using gethostname(2). When gethostname() -is not available on the client's platform implementors may use the value of the -nodename field of struct utsname as returned by uname(2). An example of how to -retrieve a value for WM_CLIENT_MACHINE: +WM_CLIENT_MACHINE is usually set by calling XSetWMProperties(). The hostname for the current host can be be retrieved using gethostname(), when gethostname() +is not available on the platform implementors may use the value of the +nodename field of struct utsname as returned by uname(). Note also that the value of WM_CLIENT_MACHINE is not guaranteed +to be a fully fully-qualified domain name of the host. An example of how to +retrieve the hostname: Greg Badros Matthias Clasen David Rosenthal - + Lubos Lunak Change history @@ -1721,6 +1732,13 @@ OR OTHER DEALINGS IN THE SOFTWARE. Improve markup of citations. + + Explain _NET_DESKTOP_GEOMETRY in more detail and improve the explanation + of WM_CLIENT_MACHINE in . + + + Add Lubos Lunak to the list of contributors. + -- cgit v1.2.3-70-g09d2