From f7f3007c7d7e0418d714cd0608bfa2638550f86d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin Gräßlin?= Date: Mon, 30 Jun 2014 15:34:57 +0200 Subject: [PATCH 1/2] _NET_WM_SHOW_WINDOW_MENU Adding a new client message _NET_WM_SHOW_WINDOW_MENU which can be used by Clients to show the window manager's window menu. The rational is to integrate Clients using client-side-decorations better into the environment they are running in. --- wm-spec/wm-spec.xml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/wm-spec/wm-spec.xml b/wm-spec/wm-spec.xml index 0859dc6..8ee5315 100644 --- a/wm-spec/wm-spec.xml +++ b/wm-spec/wm-spec.xml @@ -1789,6 +1789,37 @@ default positions. Note: The property is not used anywhere else besides being listed in _NET_SUPPORTED. + + _NET_WM_SHOW_WINDOW_MENU + +By including this hint in _NET_SUPPORTED the Window Manager announces +that it supports showing a menu offering window management options for a +given client. + + +A Client can request this menu by sending a _NET_WM_SHOW_WINDOW_MENU client message +to the root window: + + + +If the Xinput2 device which triggered the event does not provide coordinates (e.g. +triggered by a keyboard shortcut) the Client should set it to useful values the +window manager can use to position the menu. Also in case the click occurred in a +widget (e.g. a menu button) the coordinates should be set to useful values so that +the window manager can position the menu in an adjacent way. However it is up to +the window manager on how to position the menu. + + @@ -2305,6 +2336,9 @@ OR OTHER DEALINGS IN THE SOFTWARE. Changes since 1.4draft +Added _NET_WM_SHOW_WINDOW_MENU + + Added _NET_WM_BYPASS_COMPOSITOR -- 2.0.0