_NET_WM_MOVERESIZE_CANCEL
- From: Lubos Lunak <l lunak suse cz>
- To: wm-spec-list gnome org
- Subject: _NET_WM_MOVERESIZE_CANCEL
- Date: Wed, 7 Dec 2005 15:05:51 +0100
Hello,
see http://bugs.kde.org/show_bug.cgi?id=101468 . Any comments on the attached
spec addition?
--
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: l lunak suse cz , l lunak kde org
Drahobejlova 27 tel: +420 2 9654 2373
190 00 Praha 9 fax: +420 2 9654 2374
Czech Republic http://www.suse.cz/
--- wm-spec.xml.sav 2005-06-27 10:47:05.000000000 +0200
+++ wm-spec.xml 2005-12-07 15:04:30.000000000 +0100
@@ -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 */
]]></programlisting>
<para>
- 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).
</para>
<para>
The Window Manager can use the button field to determine the
@@ -769,7 +771,9 @@ _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.
</para>
</sect2>
<sect2><title>_NET_RESTACK_WINDOW</title>
@@ -1996,6 +2000,14 @@ OR OTHER DEALINGS IN THE SOFTWARE.
<sect1>
<title>Change history</title>
<sect2>
+ <title>Changes since 1.3</title>
+ <itemizedlist>
+ <listitem><para>
+Added _NET_WM_MOVERESIZE_CANCEL.
+ </para></listitem>
+ </itemizedlist>
+ </sect2>
+ <sect2>
<title>Changes since 1.2</title>
<itemizedlist>
<listitem><para>
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]