From 5c597b4b270d6322f76f3b2e7485d8032d86fcc4 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 | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/wm-spec/wm-spec.xml b/wm-spec/wm-spec.xml index 0859dc6..9217aa3 100644 --- a/wm-spec/wm-spec.xml +++ b/wm-spec/wm-spec.xml @@ -1789,6 +1789,34 @@ 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. + + @@ -2305,6 +2333,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