From f135242f825d609b6717611638d0fa8e8e85ca3d Mon Sep 17 00:00:00 2001 From: llunak Date: Wed, 4 Jan 2006 21:25:33 +0000 Subject: Add _NET_WM_MOVERESIZE_CANCEL . --- wm-spec/wm-spec.xml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'wm-spec') diff --git a/wm-spec/wm-spec.xml b/wm-spec/wm-spec.xml index 48de11e..3d39cae 100644 --- a/wm-spec/wm-spec.xml +++ b/wm-spec/wm-spec.xml @@ -759,9 +759,11 @@ _NET_WM_MOVERESIZE #define _NET_WM_MOVERESIZE_MOVE 8 /* movement only */ #define _NET_WM_MOVERESIZE_SIZE_KEYBOARD 9 /* size via keyboard */ #define _NET_WM_MOVERESIZE_MOVE_KEYBOARD 10 /* move via keyboard */ +#define _NET_WM_MOVERESIZE_CANCEL 11 /* cancel operation */ ]]> - The Client MUST release all grabs prior to sending such message. + The Client MUST release all grabs prior to sending such message (except + for the _NET_WM_MOVERESIZE_CANCEL message). The Window Manager can use the button field to determine the @@ -769,8 +771,13 @@ _NET_WM_MOVERESIZE _NET_WM_MOVERESIZE message. Since there is a race condition between a client sending the _NET_WM_MOVERESIZE message and the user releasing the button, Window Managers are advised to offer some other means to - terminate the operation, e.g. by pressing the ESC key. - + terminate the operation, e.g. by pressing the ESC key. The special value + _NET_WM_MOVERESIZE_CANCEL also allows clients to cancel the operation + by sending such message if they detect the release themselves + (clients should send it if they get the button release after sending + the move resize message, indicating that the WM did not get a grab in time + to get the release). + _NET_RESTACK_WINDOW Change history + + Changes since 1.3 + + +Added _NET_WM_MOVERESIZE_CANCEL. + + + Changes since 1.2 -- cgit v1.2.3-54-g00ecf