From f42a5770bfb86bf78b8dfdb8a49bc1e4281878a9 Mon Sep 17 00:00:00 2001 From: hp Date: Thu, 6 Jul 2000 05:39:54 +0000 Subject: Changes collated by Julian Adams. --- wm-spec/wm-spec.sgml | 89 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 56 insertions(+), 33 deletions(-) diff --git a/wm-spec/wm-spec.sgml b/wm-spec/wm-spec.sgml index 130c302..ee86622 100644 --- a/wm-spec/wm-spec.sgml +++ b/wm-spec/wm-spec.sgml @@ -7,6 +7,12 @@ Introduction + + Version + +This spec is version 1.9f. + + What is this spec? @@ -27,6 +33,26 @@ pagers and taskbars. "Application" refers to other clients. "Clients" refers to Pagers + Applications ie. all X clients, except for the Window Manager. + + Changes since 1.9e + + +Added _NET_WM_VISIBLE_NAME_STRING + + +Removed ambiguity from _NET_NUMBER_OF_DESKTOPS and _NET_DESKTOP_NAMES in combination. + + +Set _NET_WM_MOVERESIZE format to 32 for consistency. + + +Removed _NET_PROPERTIES. + + +Removed comment from _NET_WM_MOVERESIZE. + + + Changes since 1.9d @@ -159,16 +185,21 @@ This property SHOULD be set and updated by the Window Manager to indicate the number of virtual desktops. -A Pager can insert or delete a certain desktop by sending a -_NET_{INSERT/DELETE}_DESKTOP client message to the root window. +A Pager can request change in the desktops number by sending a _NET_SET_NUMBER_OF_DESKTOPS message to the root window: - _NET_DESKTOP_GEOMETRY @@ -219,8 +250,7 @@ _NET_DESKTOP_NAMES ]]> The names of all virtual desktops in UTF8 encoding. This property MAY be -changed by a Pager or the Window Mangaer at any time. When a desktop is added -or removed, the Window Manager MUST update this list. +changed by a Pager or the Window Mangaer at any time. _NET_ACTIVE_WINDOW This message allows an application to initiate window movement or resizing. This allows the application to define its own move and size "grips", whilst letting the window manager control the actual move/resize. This means that all moves / resizes can happen in a consistent manner as defined by the WM. @@ -307,39 +337,32 @@ _NET_WM_MOVERESIZE #define _NET_WM_MOVERESIZE_SIZE_LEFT 7 #define _NET_WM_MOVERESIZE_MOVE 8 /* Movement only */ ]]> - - [[PDW: Why do we need to indicate the direction? The WM could guess this from the click position - some WMs (eg. sawmill) have code for doing something similar when you hold eg. Meta + click in the client area... ]] - Application Window Properties - _NET_PROPERTIES + _NET_WM_NAME -Enables only use of listed properties on this windows. If this property is -set, the Window Manager MUST only handle (XGetWindowProperty) properties -listed here. This property MUST be set by the Client before any other _NET -hints can be used. If this property is set, it MUST also include any ICCCM -client-only (not WM_STATE) hints that are set by the client. If WM_PROTOCOLS -is not listed here, the Window Manager SHOULD assume that it contains exactly -WM_DELETE_WINDOW. - - -This is a performance optimization. [[MM: I still have to do a benchmark.]] +The Client SHOULD set this to the title of the window in UTF8 encoding. If +set, the Window Manager should use this in preference to WM_NAME. - _NET_WM_NAME + + _NET_WM_VISIBLE_NAME_STRING -The Client SHOULD set this to the title of the window in UTF8 encoding. If -set, the Window Manager should use this in preference to WM_NAME. +If the Window Manager displays a window name other than _NET_WM_NAME the Window Manager MUST set this to the title displayed in UTF8 encoding. + +Rationale: For window managers that display a title different from the _NET_WM_NAME or WM_NAME of the window (i.e. xterm <1>, xterm <2>, ... is shown, but _NET_WM_NAME / WM_NAME is still xterm for each window). This property allows taskbars / pagers to display the same title as the window manager. + + _NET_WM_DESKTOP , CARDINAL/32 -- cgit v1.2.3-70-g09d2