Hello community, here is the log from the commit of package wayland-protocols for openSUSE:Factory checked in at 2017-07-21 22:36:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wayland-protocols (Old) and /work/SRC/openSUSE:Factory/.wayland-protocols.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wayland-protocols" Fri Jul 21 22:36:07 2017 rev:10 rq:510167 version:1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/wayland-protocols/wayland-protocols.changes 2016-09-11 00:51:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.wayland-protocols.new/wayland-protocols.changes 2017-07-21 22:36:11.864463383 +0200 @@ -1,0 +2,25 @@ +Thu Jul 13 22:23:16 UTC 2017 - zai...@opensuse.org + +- Update to version 1.9: + * Keyboard shortcut inhibitation - a protocol meant for making it + possible for virtual machine viewers, remote desktop clients + etc, to be able to forward keyboard combinations such as + Alt-Tab etc. + * Xwayland keyboard grabbing - a protocol specifically targeted + at enabling Xwayland to implement keyboard grabs. +- Update keyring, the previous one had expired. + +------------------------------------------------------------------- +Sat Jun 17 17:15:31 UTC 2017 - zai...@opensuse.org + +- Update to version 1.8: + * Bumped the linux dmabuf protocol version, introducing a new + request for creating a buffer from a dmabuf without having to + wait for an event, as well as an event advertising supported + fourcc modifiers along with the supported formats. + * A pkg-config file meant for when wayland-protocols is used as a + git submodule (or otherwise not installed) was added. + * Various grammar fixes and clarifications were also included in + this release. + +------------------------------------------------------------------- Old: ---- wayland-protocols-1.7.tar.xz wayland-protocols-1.7.tar.xz.sig New: ---- wayland-protocols-1.9.tar.xz wayland-protocols-1.9.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wayland-protocols.spec ++++++ --- /var/tmp/diff_new_pack.AJcXQo/_old 2017-07-21 22:36:12.812329673 +0200 +++ /var/tmp/diff_new_pack.AJcXQo/_new 2017-07-21 22:36:12.812329673 +0200 @@ -1,7 +1,7 @@ # # spec file for package wayland-protocols # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 Bjørn Lie, Bryne, Norway. # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: wayland-protocols -Version: 1.7 +Version: 1.9 Release: 0 Summary: Wayland protocols that adds functionality not available in the core protocol License: MIT ++++++ wayland-protocols-1.7.tar.xz -> wayland-protocols-1.9.tar.xz ++++++ ++++ 2098 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/Makefile.am new/wayland-protocols-1.9/Makefile.am --- old/wayland-protocols-1.7/Makefile.am 2016-08-15 04:25:31.000000000 +0200 +++ new/wayland-protocols-1.9/Makefile.am 2017-07-11 08:18:39.000000000 +0200 @@ -12,6 +12,8 @@ unstable/tablet/tablet-unstable-v2.xml \ unstable/xdg-foreign/xdg-foreign-unstable-v1.xml \ unstable/idle-inhibit/idle-inhibit-unstable-v1.xml \ + unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml \ + unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml \ $(NULL) stable_protocols = \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/configure.ac new/wayland-protocols-1.9/configure.ac --- old/wayland-protocols-1.7/configure.ac 2016-08-15 04:33:23.000000000 +0200 +++ new/wayland-protocols-1.9/configure.ac 2017-07-11 08:41:01.000000000 +0200 @@ -1,7 +1,7 @@ AC_PREREQ([2.64]) m4_define([wayland_protocols_major_version], [1]) -m4_define([wayland_protocols_minor_version], [7]) +m4_define([wayland_protocols_minor_version], [9]) m4_define([wayland_protocols_version], [wayland_protocols_major_version.wayland_protocols_minor_version]) @@ -35,6 +35,7 @@ AC_CONFIG_FILES([ Makefile wayland-protocols.pc + wayland-protocols-uninstalled.pc ]) AC_OUTPUT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/stable/presentation-time/presentation-time.xml new/wayland-protocols-1.9/stable/presentation-time/presentation-time.xml --- old/wayland-protocols-1.7/stable/presentation-time/presentation-time.xml 2016-08-12 04:49:03.000000000 +0200 +++ new/wayland-protocols-1.9/stable/presentation-time/presentation-time.xml 2016-11-21 06:27:27.000000000 +0100 @@ -81,7 +81,6 @@ For details on what information is returned, see the presentation_feedback interface. </description> - <arg name="surface" type="object" interface="wl_surface" summary="target surface"/> <arg name="callback" type="new_id" interface="wp_presentation_feedback" @@ -120,7 +119,6 @@ recommended. Clients must be able to query the current clock value directly, not by asking the compositor. </description> - <arg name="clk_id" type="uint" summary="platform clock identifier"/> </event> @@ -152,7 +150,6 @@ the synchronized output. If a client has not bound to the right wl_output global at all, this event is not sent. </description> - <arg name="output" type="object" interface="wl_output" summary="presentation output"/> </event> @@ -192,7 +189,6 @@ Possible zero-copy cases include direct scanout of a fullscreen surface and a surface on a hardware overlay. </description> - <entry name="vsync" value="0x1" summary="presentation was vsync'd"/> <entry name="hw_clock" value="0x2" summary="hardware provided the presentation timestamp"/> @@ -246,7 +242,6 @@ a way to query the refresh count, then the arguments seq_hi and seq_lo must be zero. </description> - <arg name="tv_sec_hi" type="uint" summary="high 32 bits of the seconds part of the presentation timestamp"/> <arg name="tv_sec_lo" type="uint" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/stable/viewporter/viewporter.xml new/wayland-protocols-1.9/stable/viewporter/viewporter.xml --- old/wayland-protocols-1.7/stable/viewporter/viewporter.xml 2016-08-12 04:49:03.000000000 +0200 +++ new/wayland-protocols-1.9/stable/viewporter/viewporter.xml 2016-11-21 06:27:27.000000000 +0100 @@ -54,7 +54,6 @@ a wp_viewport object associated, the viewport_exists protocol error is raised. </description> - <arg name="id" type="new_id" interface="wp_viewport" summary="the new viewport interface id"/> <arg name="surface" type="object" interface="wl_surface" @@ -159,7 +158,6 @@ The crop and scale state is double-buffered state, and will be applied on the next wl_surface.commit. </description> - <arg name="x" type="fixed" summary="source rectangle x"/> <arg name="y" type="fixed" summary="source rectangle y"/> <arg name="width" type="fixed" summary="source rectangle width"/> @@ -180,7 +178,6 @@ The crop and scale state is double-buffered state, and will be applied on the next wl_surface.commit. </description> - <arg name="width" type="int" summary="surface width"/> <arg name="height" type="int" summary="surface height"/> </request> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml new/wayland-protocols-1.9/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml --- old/wayland-protocols-1.7/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml 2016-08-15 04:25:31.000000000 +0200 +++ new/wayland-protocols-1.9/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml 2017-01-17 14:28:28.000000000 +0100 @@ -42,7 +42,7 @@ <request name="destroy" type="destructor"> <description summary="destroy the idle inhibitor object"> - This destroys the inhibit manager. + Destroy the inhibit manager. </description> </request> @@ -75,7 +75,7 @@ <request name="destroy" type="destructor"> <description summary="destroy the idle inhibitor object"> - This removes the inhibitor effect from the associated wl_surface. + Remove the inhibitor effect from the associated wl_surface. </description> </request> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/input-method/input-method-unstable-v1.xml new/wayland-protocols-1.9/unstable/input-method/input-method-unstable-v1.xml --- old/wayland-protocols-1.7/unstable/input-method/input-method-unstable-v1.xml 2016-08-12 04:49:03.000000000 +0200 +++ new/wayland-protocols-1.9/unstable/input-method/input-method-unstable-v1.xml 2016-11-21 05:40:02.000000000 +0100 @@ -27,8 +27,8 @@ <interface name="zwp_input_method_context_v1" version="1"> <description summary="input method context"> Corresponds to a text input on the input method side. An input method context - is created on text input activation on the input method side. It allows to - receive information about the text input from the application via events. + is created on text input activation on the input method side. It allows + receiving information about the text input from the application via events. Input method contexts do not keep state after deactivation and should be destroyed after deactivation is handled. @@ -86,7 +86,7 @@ <request name="preedit_styling"> <description summary="pre-edit styling"> - Sets styling information on composing text. The style is applied for + Set the styling information on composing text. The style is applied for length in bytes from index relative to the beginning of the composing text (as byte offset). Multiple styles can be applied to a composing text. @@ -100,7 +100,7 @@ <request name="preedit_cursor"> <description summary="pre-edit cursor"> - Sets the cursor position inside the composing text (as byte offset) + Set the cursor position inside the composing text (as byte offset) relative to the start of the composing text. When index is negative no cursor should be displayed. @@ -112,6 +112,8 @@ <request name="delete_surrounding_text"> <description summary="delete text"> + Remove the surrounding text. + This request will be handled on the text_input side directly following a commit_string request. </description> @@ -121,11 +123,11 @@ <request name="cursor_position"> <description summary="set cursor to a new position"> - Sets the cursor and anchor to a new position. Index is the new cursor - position in bytes (when >= 0 relative to the end of inserted text, - otherwise relative to the beginning of the inserted text). Anchor is - the new anchor position in bytes (when >= 0 relative to the end of the - inserted text, otherwise relative to the beginning of the inserted + Set the cursor and anchor to a new position. Index is the new cursor + position in bytes (when >= 0 this is relative to the end of the inserted text, + otherwise it is relative to the beginning of the inserted text). Anchor is + the new anchor position in bytes (when >= 0 this is relative to the end of the + inserted text, otherwise it is relative to the beginning of the inserted text). When there should be no selected text, anchor should be the same as index. @@ -145,7 +147,7 @@ Notify when a key event was sent. Key events should not be used for normal text input operations, which should be done with commit_string, delete_surrounding_text, etc. The key event follows the wl_keyboard key - event convention. Sym is an XKB keysym, state a wl_keyboard key_state. + event convention. Sym is an XKB keysym, state is a wl_keyboard key_state. </description> <arg name="serial" type="uint" summary="serial of the latest known text input state"/> <arg name="time" type="uint"/> @@ -156,7 +158,7 @@ <request name="grab_keyboard"> <description summary="grab hardware keyboard"> - Allows an input method to receive hardware keyboard input and process + Allow an input method to receive hardware keyboard input and process key events to generate text events (with pre-edit) over the wire. This allows input methods which compose multiple key events for inputting text like it is done for CJK languages. @@ -166,11 +168,9 @@ <request name="key"> <description summary="forward key event"> - Should be used when filtering key events with grab_keyboard. - - When the wl_keyboard::key event is not processed by the input - method itself and should be sent to the client instead, forward it - with this request. The arguments should be the ones from the + Forward a wl_keyboard::key event to the client that was not processed + by the input method itself. Should be used when filtering key events + with grab_keyboard. The arguments should be the ones from the wl_keyboard::key event. For generating custom key events use the keysym request instead. @@ -183,10 +183,9 @@ <request name="modifiers"> <description summary="forward modifiers event"> - Should be used when filtering key events with grab_keyboard. - - When the wl_keyboard::modifiers event should also be sent to the - client, forward it with this request. The arguments should be the ones + Forward a wl_keyboard::modifiers event to the client that was not + processed by the input method itself. Should be used when filtering + key events with grab_keyboard. The arguments should be the ones from the wl_keyboard::modifiers event. </description> <arg name="serial" type="uint" summary="serial from wl_keyboard::modifiers"/> @@ -212,7 +211,7 @@ position in bytes within the surrounding text relative to the beginning of the text. Anchor is the position in bytes of the selection anchor within the surrounding text relative to the beginning of the text. If - there is no selected text anchor is the same as cursor. + there is no selected text then anchor is the same as cursor. </description> <arg name="text" type="string"/> <arg name="cursor" type="uint"/> @@ -285,6 +284,8 @@ <request name="set_toplevel"> <description summary="set the surface type as a keyboard"> + Set the input_panel_surface type to keyboard. + A keyboard surface is only shown when a text input is active. </description> <arg name="output" type="object" interface="wl_output"/> @@ -293,8 +294,10 @@ <request name="set_overlay_panel"> <description summary="set the surface type as an overlay panel"> - An overlay panel is shown near the input cursor above the application - window when a text input is active. + Set the input_panel_surface to be an overlay panel. + + This is shown near the input cursor above the application window when + a text input is active. </description> </request> </interface> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/keyboard-shortcuts-inhibit/README new/wayland-protocols-1.9/unstable/keyboard-shortcuts-inhibit/README --- old/wayland-protocols-1.7/unstable/keyboard-shortcuts-inhibit/README 1970-01-01 01:00:00.000000000 +0100 +++ new/wayland-protocols-1.9/unstable/keyboard-shortcuts-inhibit/README 2017-07-11 08:18:39.000000000 +0200 @@ -0,0 +1,4 @@ +Compositor shortcuts inhibit protocol + +Maintainers: +Olivier Fourdan <ofour...@redhat.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml new/wayland-protocols-1.9/unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml --- old/wayland-protocols-1.7/unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/wayland-protocols-1.9/unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml 2017-07-11 08:18:39.000000000 +0200 @@ -0,0 +1,143 @@ +<?xml version="1.0" encoding="UTF-8"?> +<protocol name="keyboard_shortcuts_inhibit_unstable_v1"> + + <copyright> + Copyright © 2017 Red Hat Inc. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + </copyright> + + <description summary="Protocol for inhibiting the compositor keyboard shortcuts"> + This protocol specifies a way for a client to request the compositor + to ignore its own keyboard shortcuts for a given seat, so that all + key events from that seat get forwarded to a surface. + + Warning! The protocol described in this file is experimental and + backward incompatible changes may be made. Backward compatible + changes may be added together with the corresponding interface + version bump. + Backward incompatible changes are done by bumping the version + number in the protocol and interface names and resetting the + interface version. Once the protocol is to be declared stable, + the 'z' prefix and the version number in the protocol and + interface names are removed and the interface version number is + reset. + </description> + + <interface name="zwp_keyboard_shortcuts_inhibit_manager_v1" version="1"> + <description summary="context object for keyboard grab_manager"> + A global interface used for inhibiting the compositor keyboard shortcuts. + </description> + + <request name="destroy" type="destructor"> + <description summary="destroy the keyboard shortcuts inhibitor object"> + Destroy the keyboard shortcuts inhibitor manager. + </description> + </request> + + <request name="inhibit_shortcuts"> + <description summary="create a new keyboard shortcuts inhibitor object"> + Create a new keyboard shortcuts inhibitor object associated with + the given surface for the given seat. + + If shortcuts are already inhibited for the specified seat and surface, + a protocol error "already_inhibited" is raised by the compositor. + </description> + <arg name="id" type="new_id" interface="zwp_keyboard_shortcuts_inhibitor_v1"/> + <arg name="surface" type="object" interface="wl_surface" + summary="the surface that inhibits the keyboard shortcuts behavior"/> + <arg name="seat" type="object" interface="wl_seat" + summary="the wl_seat for which keyboard shortcuts should be disabled"/> + </request> + + <enum name="error"> + <entry name="already_inhibited" + value="0" + summary="the shortcuts are already inhibited for this surface"/> + </enum> + </interface> + + <interface name="zwp_keyboard_shortcuts_inhibitor_v1" version="1"> + <description summary="context object for keyboard shortcuts inhibitor"> + A keyboard shortcuts inhibitor instructs the compositor to ignore + its own keyboard shortcuts when the associated surface has keyboard + focus. As a result, when the surface has keyboard focus on the given + seat, it will receive all key events originating from the specified + seat, even those which would normally be caught by the compositor for + its own shortcuts. + + The Wayland compositor is however under no obligation to disable + all of its shortcuts, and may keep some special key combo for its own + use, including but not limited to one allowing the user to forcibly + restore normal keyboard events routing in the case of an unwilling + client. The compositor may also use the same key combo to reactivate + an existing shortcut inhibitor that was previously deactivated on + user request. + + When the compositor restores its own keyboard shortcuts, an + "inactive" event is emitted to notify the client that the keyboard + shortcuts inhibitor is not effectively active for the surface and + seat any more, and the client should not expect to receive all + keyboard events. + + When the keyboard shortcuts inhibitor is inactive, the client has + no way to forcibly reactivate the keyboard shortcuts inhibitor. + + The user can chose to re-enable a previously deactivated keyboard + shortcuts inhibitor using any mechanism the compositor may offer, + in which case the compositor will send an "active" event to notify + the client. + + If the surface is destroyed, unmapped, or loses the seat's keyboard + focus, the keyboard shortcuts inhibitor becomes irrelevant and the + compositor will restore its own keyboard shortcuts but no "inactive" + event is emitted in this case. + </description> + + <request name="destroy" type="destructor"> + <description summary="destroy the keyboard shortcuts inhibitor object"> + Remove the keyboard shortcuts inhibitor from the associated wl_surface. + </description> + </request> + + <event name="active"> + <description summary="shortcuts are inhibited"> + This event indicates that the shortcut inhibitor is active. + + The compositor sends this event every time compositor shortcuts + are inhibited on behalf of the surface. When active, the client + may receive input events normally reserved by the compositor + (see zwp_keyboard_shortcuts_inhibitor_v1). + + This occurs typically when the initial request "inhibit_shortcuts" + first becomes active or when the user instructs the compositor to + re-enable and existing shortcuts inhibitor using any mechanism + offered by the compositor. + </description> + </event> + + <event name="inactive"> + <description summary="shortcuts are restored"> + This event indicates that the shortcuts inhibitor is inactive, + normal shortcuts processing is restored by the compositor. + </description> + </event> + </interface> +</protocol> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml new/wayland-protocols-1.9/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml --- old/wayland-protocols-1.7/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml 2016-08-12 04:49:03.000000000 +0200 +++ new/wayland-protocols-1.9/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml 2017-07-11 08:17:24.000000000 +0200 @@ -4,37 +4,36 @@ <copyright> Copyright © 2014, 2015 Collabora, Ltd. - Permission to use, copy, modify, distribute, and sell this - software and its documentation for any purpose is hereby granted - without fee, provided that the above copyright notice appear in - all copies and that both that copyright notice and this permission - notice appear in supporting documentation, and that the name of - the copyright holders not be used in advertising or publicity - pertaining to distribution of the software without specific, - written prior permission. The copyright holders make no - representations about the suitability of this software for any - purpose. It is provided "as is" without express or implied - warranty. - - THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS - SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND - FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY - SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN - AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, - ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF - THIS SOFTWARE. + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. </copyright> - <interface name="zwp_linux_dmabuf_v1" version="1"> + <interface name="zwp_linux_dmabuf_v1" version="3"> <description summary="factory for creating dmabuf-based wl_buffers"> Following the interfaces from: https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_import.txt and the Linux DRM sub-system's AddFb2 ioctl. - This interface offers a way to create generic dmabuf-based + This interface offers ways to create generic dmabuf-based wl_buffers. Immediately after a client binds to this interface, - the set of supported formats is sent with 'format' events. + the set of supported formats and format modifiers is sent with + 'format' and 'modifier' events. The following are required from clients: @@ -58,10 +57,23 @@ To create a wl_buffer from one or more dmabufs, a client creates a zwp_linux_dmabuf_params_v1 object with a zwp_linux_dmabuf_v1.create_params request. All planes required by the intended format are added with - the 'add' request. Finally, a 'create' request is issued. The server - will reply with either a 'created' event which provides the final - wl_buffer or a 'failed' event saying that it cannot use the dmabufs - provided. + the 'add' request. Finally, a 'create' or 'create_immed' request is + issued, which has the following outcome depending on the import success. + + The 'create' request, + - on success, triggers a 'created' event which provides the final + wl_buffer to the client. + - on failure, triggers a 'failed' event to convey that the server + cannot use the dmabufs received from the client. + + For the 'create_immed' request, + - on success, the server immediately imports the added dmabufs to + create a wl_buffer. No event is sent from the server in this case. + - on failure, the server can choose to either: + - terminate the client by raising a fatal error. + - mark the wl_buffer as failed, and send a 'failed' event to the + client. If the client uses a failed wl_buffer as an argument to any + request, the behaviour is compositor implementation-defined. Warning! The protocol described in this file is experimental and backward incompatible changes may be made. Backward compatible changes @@ -98,15 +110,37 @@ binds to this interface. A roundtrip after binding guarantees that the client has received all supported formats. - For the definition of the format codes, see create request. + For the definition of the format codes, see the + zwp_linux_buffer_params_v1::create request. - XXX: Can a compositor ever enumerate them? + Warning: the 'format' event is likely to be deprecated and replaced + with the 'modifier' event introduced in zwp_linux_dmabuf_v1 + version 3, described below. Please refrain from using the information + received from this event. </description> <arg name="format" type="uint" summary="DRM_FORMAT code"/> </event> + + <event name="modifier" since="3"> + <description summary="supported buffer format modifier"> + This event advertises the formats that the server supports, along with + the modifiers supported for each format. All the supported modifiers + for all the supported formats are advertised once when the client + binds to this interface. A roundtrip after binding guarantees that + the client has received all supported format-modifier pairs. + + For the definition of the format and modifier codes, see the + zwp_linux_buffer_params_v1::create request. + </description> + <arg name="format" type="uint" summary="DRM_FORMAT code"/> + <arg name="modifier_hi" type="uint" + summary="high 32 bits of layout modifier"/> + <arg name="modifier_lo" type="uint" + summary="low 32 bits of layout modifier"/> + </event> </interface> - <interface name="zwp_linux_buffer_params_v1" version="1"> + <interface name="zwp_linux_buffer_params_v1" version="3"> <description summary="parameters for creating a dmabuf-based wl_buffer"> This temporary object is a collection of dmabufs and other parameters that together form a single logical buffer. The temporary @@ -127,24 +161,21 @@ <enum name="error"> <entry name="already_used" value="0" summary="the dmabuf_batch object has already been used to create a wl_buffer"/> - <entry name="plane_idx" value="1" summary="plane index out of bounds"/> - <entry name="plane_set" value="2" summary="the plane index was already set"/> - <entry name="incomplete" value="3" summary="missing or too many planes to create a buffer"/> - <entry name="invalid_format" value="4" summary="format not supported"/> - <entry name="invalid_dimensions" value="5" summary="invalid width or height"/> - <entry name="out_of_bounds" value="6" summary="offset + stride * height goes out of dmabuf bounds"/> + <entry name="invalid_wl_buffer" value="7" + summary="invalid wl_buffer resulted from importing dmabufs via + the create_immed request on given buffer_params"/> </enum> <request name="destroy" type="destructor"> @@ -170,7 +201,6 @@ The error PLANE_SET is raised if attempting to set a plane that was already set. </description> - <arg name="fd" type="fd" summary="dmabuf fd"/> <arg name="plane_idx" type="uint" summary="plane index"/> <arg name="offset" type="uint" summary="offset in bytes"/> @@ -277,6 +307,42 @@ zlinux_buffer_params object. </description> </event> + + <request name="create_immed" since="2"> + <description summary="immediately create a wl_buffer from the given + dmabufs"> + This asks for immediate creation of a wl_buffer by importing the + added dmabufs. + + In case of import success, no event is sent from the server, and the + wl_buffer is ready to be used by the client. + + Upon import failure, either of the following may happen, as seen fit + by the implementation: + - the client is terminated with one of the following fatal protocol + errors: + - INCOMPLETE, INVALID_FORMAT, INVALID_DIMENSIONS, OUT_OF_BOUNDS, + in case of argument errors such as mismatch between the number + of planes and the format, bad format, non-positive width or + height, or bad offset or stride. + - INVALID_WL_BUFFER, in case the cause for failure is unknown or + plaform specific. + - the server creates an invalid wl_buffer, marks it as failed and + sends a 'failed' event to the client. The result of using this + invalid wl_buffer as an argument in any request by the client is + defined by the compositor implementation. + + This takes the same arguments as a 'create' request, and obeys the + same restrictions. + </description> + <arg name="buffer_id" type="new_id" interface="wl_buffer" + summary="id for the newly created wl_buffer"/> + <arg name="width" type="int" summary="base plane width in pixels"/> + <arg name="height" type="int" summary="base plane height in pixels"/> + <arg name="format" type="uint" summary="DRM_FORMAT code"/> + <arg name="flags" type="uint" summary="see enum flags"/> + </request> + </interface> </protocol> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml new/wayland-protocols-1.9/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml --- old/wayland-protocols-1.7/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml 2016-08-12 04:49:03.000000000 +0200 +++ new/wayland-protocols-1.9/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml 2016-11-21 06:27:27.000000000 +0100 @@ -140,7 +140,6 @@ objects of the same seat. wl_pointer.axis and wl_pointer.button events are unaffected. </description> - <arg name="id" type="new_id" interface="zwp_locked_pointer_v1"/> <arg name="surface" type="object" interface="wl_surface" summary="surface to lock pointer to"/> @@ -171,7 +170,6 @@ state. See the the description of wp_confined_pointer for further information. </description> - <arg name="id" type="new_id" interface="zwp_confined_pointer_v1"/> <arg name="surface" type="object" interface="wl_surface" summary="surface to lock pointer to"/> @@ -231,7 +229,6 @@ effect when the associated surface gets it pending state applied. See wl_surface.commit for details. </description> - <arg name="surface_x" type="fixed" summary="surface-local x coordinate"/> <arg name="surface_y" type="fixed" @@ -248,7 +245,6 @@ For details about the lock region, see wp_locked_pointer. </description> - <arg name="region" type="object" interface="wl_region" allow-null="true" summary="region of surface"/> </request> @@ -317,7 +313,6 @@ For details about the confine region, see wp_confined_pointer. </description> - <arg name="region" type="object" interface="wl_region" allow-null="true" summary="region of surface"/> </request> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/relative-pointer/relative-pointer-unstable-v1.xml new/wayland-protocols-1.9/unstable/relative-pointer/relative-pointer-unstable-v1.xml --- old/wayland-protocols-1.7/unstable/relative-pointer/relative-pointer-unstable-v1.xml 2016-08-12 04:49:03.000000000 +0200 +++ new/wayland-protocols-1.9/unstable/relative-pointer/relative-pointer-unstable-v1.xml 2016-11-21 06:27:27.000000000 +0100 @@ -68,7 +68,6 @@ Create a relative pointer interface given a wl_pointer object. See the wp_relative_pointer interface for more details. </description> - <arg name="id" type="new_id" interface="zwp_relative_pointer_v1"/> <arg name="pointer" type="object" interface="wl_pointer"/> </request> @@ -119,7 +118,6 @@ from a wl_pointer object of the same seat that the wp_relative_pointer object is associated with. </description> - <arg name="utime_hi" type="uint" summary="high 32 bits of a 64 bit timestamp with microsecond granularity"/> <arg name="utime_lo" type="uint" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/tablet/tablet-unstable-v1.xml new/wayland-protocols-1.9/unstable/tablet/tablet-unstable-v1.xml --- old/wayland-protocols-1.7/unstable/tablet/tablet-unstable-v1.xml 2016-08-12 04:49:03.000000000 +0200 +++ new/wayland-protocols-1.9/unstable/tablet/tablet-unstable-v1.xml 2016-11-21 06:27:27.000000000 +0100 @@ -542,7 +542,6 @@ wp_tablet_tool.proximity_in and wp_tablet_tool.proximity_out for details. </description> - <arg name="serial" type="uint"/> <arg name="button" type="uint" summary="The button whose state has changed"/> <arg name="state" type="uint" enum="button_state" summary="Whether the button was pressed or released"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/tablet/tablet-unstable-v2.xml new/wayland-protocols-1.9/unstable/tablet/tablet-unstable-v2.xml --- old/wayland-protocols-1.7/unstable/tablet/tablet-unstable-v2.xml 2016-08-12 04:49:03.000000000 +0200 +++ new/wayland-protocols-1.9/unstable/tablet/tablet-unstable-v2.xml 2016-11-21 06:27:27.000000000 +0100 @@ -556,7 +556,6 @@ wp_tablet_tool.proximity_in and wp_tablet_tool.proximity_out for details. </description> - <arg name="serial" type="uint"/> <arg name="button" type="uint" summary="The button whose state has changed"/> <arg name="state" type="uint" enum="button_state" summary="Whether the button was pressed or released"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/text-input/text-input-unstable-v1.xml new/wayland-protocols-1.9/unstable/text-input/text-input-unstable-v1.xml --- old/wayland-protocols-1.7/unstable/text-input/text-input-unstable-v1.xml 2016-08-12 04:49:03.000000000 +0200 +++ new/wayland-protocols-1.9/unstable/text-input/text-input-unstable-v1.xml 2016-08-30 11:13:08.000000000 +0200 @@ -4,35 +4,36 @@ <copyright> Copyright © 2012, 2013 Intel Corporation - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the - Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice (including the next - paragraph) shall be included in all copies or substantial portions of the - Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - DEALINGS IN THE SOFTWARE. + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. </copyright> <interface name="zwp_text_input_v1" version="1"> <description summary="text input"> An object used for text input. Adds support for text input and input - methods to applications. A text-input object is created from a + methods to applications. A text_input object is created from a wl_text_input_manager and corresponds typically to a text entry in an application. - Requests are used to activate/deactivate the text-input object and set + + Requests are used to activate/deactivate the text_input object and set state information like surrounding and selected text or the content type. - The information about entered text is sent to the text-input object via + The information about entered text is sent to the text_input object via the pre-edit and commit events. Using this interface removes the need for applications to directly process hardware key events and compose text out of them. @@ -58,11 +59,12 @@ <request name="activate"> <description summary="request activation"> - Requests the text-input object to be activated (typically when the + Requests the text_input object to be activated (typically when the text entry gets focus). + The seat argument is a wl_seat which maintains the focus for this activation. The surface argument is a wl_surface assigned to the - text-input object and tracked for focus lost. The enter event + text_input object and tracked for focus lost. The enter event is emitted on successful activation. </description> <arg name="seat" type="object" interface="wl_seat"/> @@ -71,7 +73,7 @@ <request name="deactivate"> <description summary="request deactivation"> - Requests the text-input object to be deactivated (typically when the + Requests the text_input object to be deactivated (typically when the text entry lost focus). The seat argument is a wl_seat which was used for activation. </description> @@ -104,7 +106,7 @@ UTF-8 encoded. Cursor is the byte offset within the surrounding text. Anchor is the byte offset of the selection anchor within the surrounding text. If there is no selected - text anchor is the same as cursor. + text anchor, then it is the same as cursor. </description> <arg name="text" type="string"/> <arg name="cursor" type="uint"/> @@ -178,12 +180,12 @@ <request name="set_preferred_language"> <description summary="sets preferred language"> Sets a specific language. This allows for example a virtual keyboard to - show a language specific layout. The "language" argument is a RFC-3066 + show a language specific layout. The "language" argument is an RFC-3066 format language tag. - It could be used for example in a word processor to indicate language of - currently edited document or in an instant message application which tracks - languages of contacts. + It could be used for example in a word processor to indicate the + language of the currently edited document or in an instant message + application which tracks languages of contacts. </description> <arg name="language" type="string"/> </request> @@ -199,7 +201,7 @@ <event name="enter"> <description summary="enter event"> - Notify the text-input object when it received focus. Typically in + Notify the text_input object when it received focus. Typically in response to an activate request. </description> <arg name="surface" type="object" interface="wl_surface"/> @@ -207,7 +209,7 @@ <event name="leave"> <description summary="leave event"> - Notify the text-input object when it lost focus. Either in response + Notify the text_input object when it lost focus. Either in response to a deactivate request or when the assigned surface lost focus or was destroyed. </description> @@ -215,7 +217,7 @@ <event name="modifiers_map"> <description summary="modifiers map"> - Transfer an array of 0-terminated modifiers names. The position in + Transfer an array of 0-terminated modifier names. The position in the array is the index of the modifier as used in the modifiers bitmask in the keysym event. </description> @@ -287,7 +289,7 @@ <description summary="commit"> Notify when text should be inserted into the editor widget. The text to commit could be either just a single character after a key press or the - result of some composing (pre-edit). It could be also an empty text + result of some composing (pre-edit). It could also be an empty text when some text should be removed (see delete_surrounding_text) or when the input cursor should be moved (see cursor_position). @@ -341,8 +343,8 @@ <event name="language"> <description summary="language"> - Sets the language of the input text. The "language" argument is a RFC-3066 - format language tag. + Sets the language of the input text. The "language" argument is an + RFC-3066 format language tag. </description> <arg name="serial" type="uint" summary="serial of the latest known text input state"/> <arg name="language" type="string"/> @@ -358,8 +360,8 @@ <description summary="text direction"> Sets the text direction of input text. - It is mainly needed for showing input cursor on correct side of the - editor when there is no input yet done and making sure neutral + It is mainly needed for showing an input cursor on the correct side of + the editor when there is no input done yet and making sure neutral direction text is laid out properly. </description> <arg name="serial" type="uint" summary="serial of the latest known text input state"/> @@ -369,12 +371,12 @@ <interface name="zwp_text_input_manager_v1" version="1"> <description summary="text input manager"> - A factory for text-input objects. This object is a global singleton. + A factory for text_input objects. This object is a global singleton. </description> <request name="create_text_input"> <description summary="create text input"> - Creates a new text-input object. + Creates a new text_input object. </description> <arg name="id" type="new_id" interface="zwp_text_input_v1"/> </request> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml new/wayland-protocols-1.9/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml --- old/wayland-protocols-1.7/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml 2016-08-15 04:25:31.000000000 +0200 +++ new/wayland-protocols-1.9/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml 2016-11-21 06:27:27.000000000 +0100 @@ -80,7 +80,6 @@ be used to create a xdg_imported multiple times. Only xdg_surface surfaces may be exported. </description> - <arg name="id" type="new_id" interface="zxdg_exported_v1" summary="the new xdg_exported object"/> <arg name="surface" type="object" interface="wl_surface" @@ -110,7 +109,6 @@ represents the imported surface, and the importing client can manipulate its relationship using it. See xdg_imported for details. </description> - <arg name="id" type="new_id" interface="zxdg_imported_v1" summary="the new xdg_imported object"/> <arg name="handle" type="string" @@ -141,7 +139,6 @@ import the surface by calling xdg_importer.import. A handle may be used to import the surface multiple times. </description> - <arg name="handle" type="string" summary="the exported surface handle"/> </event> </interface> @@ -168,7 +165,6 @@ sets up a surface to surface relation with the same stacking and positioning semantics as xdg_surface.set_parent. </description> - <arg name="surface" type="object" interface="wl_surface" summary="the child surface"/> </request> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/xdg-shell/xdg-shell-unstable-v5.xml new/wayland-protocols-1.9/unstable/xdg-shell/xdg-shell-unstable-v5.xml --- old/wayland-protocols-1.7/unstable/xdg-shell/xdg-shell-unstable-v5.xml 2016-03-09 08:49:51.000000000 +0100 +++ new/wayland-protocols-1.9/unstable/xdg-shell/xdg-shell-unstable-v5.xml 2016-11-21 06:27:27.000000000 +0100 @@ -234,7 +234,6 @@ This request must be used in response to some sort of user action like a button press, key press, or touch down event. </description> - <arg name="seat" type="object" interface="wl_seat" summary="the wl_seat of the user event"/> <arg name="serial" type="uint" summary="the serial of the user event"/> <arg name="x" type="int" summary="the x position to pop up the window menu at"/> @@ -396,7 +395,6 @@ can respond to one, it is free to discard all but the last event it received. </description> - <arg name="width" type="int"/> <arg name="height" type="int"/> <arg name="states" type="array"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/xdg-shell/xdg-shell-unstable-v6.xml new/wayland-protocols-1.9/unstable/xdg-shell/xdg-shell-unstable-v6.xml --- old/wayland-protocols-1.7/unstable/xdg-shell/xdg-shell-unstable-v6.xml 2016-08-15 04:25:31.000000000 +0200 +++ new/wayland-protocols-1.9/unstable/xdg-shell/xdg-shell-unstable-v6.xml 2017-01-18 07:31:54.000000000 +0100 @@ -118,7 +118,9 @@ child surface relative to a parent surface. Rules can be defined to ensure the child surface remains within the visible area's borders, and to specify how the child surface changes its position, such as sliding along - an axis, or flipping around a rectangle. + an axis, or flipping around a rectangle. These positioner-created rules are + constrained by the requirement that a child surface must intersect with or + be at least partially adjacent to its parent surface. See the various requests for details about possible rules. @@ -247,7 +249,6 @@ The adjustments can be combined, according to a defined precedence: 1) Flip, 2) Slide, 3) Resize. </description> - <entry name="none" value="0"> <description summary="don't move the child surface when constrained"> Don't alter the surface position even if it is constrained on some @@ -567,7 +568,7 @@ service name. The compositor shell will try to group application surfaces together - by their app ID. As a best practice, it is suggested to select app + by their app ID. As a best practice, it is suggested to select app ID's that match the basename of the application's .desktop file. For example, "org.freedesktop.FooViewer" where the .desktop file is "org.freedesktop.FooViewer.desktop". @@ -595,7 +596,6 @@ This request must be used in response to some sort of user action like a button press, key press, or touch down event. </description> - <arg name="seat" type="object" interface="wl_seat" summary="the wl_seat of the user event"/> <arg name="serial" type="uint" summary="the serial of the user event"/> <arg name="x" type="int" summary="the x position to pop up the window menu at"/> @@ -884,7 +884,7 @@ If the width or height arguments are zero, it means the client should decide its own window dimension. This may happen when the - compositor need to configure the state of the surface but doesn't + compositor needs to configure the state of the surface but doesn't have any information about any previous or expected dimension. The states listed in the event specify how the width/height @@ -894,7 +894,6 @@ Clients must send an ack_configure in response to this event. See xdg_surface.configure and xdg_surface.ack_configure for details. </description> - <arg name="width" type="int"/> <arg name="height" type="int"/> <arg name="states" type="array"/> @@ -905,11 +904,11 @@ The close event is sent by the compositor when the user wants the surface to be closed. This should be equivalent to the user clicking the close button in client-side decorations, - if your application has any... + if your application has any. - This is only a request that the user intends to close your + This is only a request that the user intends to close the window. The client may choose to ignore this request, or show - a dialog to ask the user to save their data... + a dialog to ask the user to save their data, etc. </description> </event> </interface> @@ -944,7 +943,8 @@ The x and y arguments passed when creating the popup object specify where the top left of the popup should be placed, relative to the local surface coordinates of the parent surface. See - xdg_surface.get_popup. + xdg_surface.get_popup. An xdg_popup must intersect with or be at least + partially adjacent to its parent surface. The client must call wl_surface.commit on the corresponding wl_surface for the xdg_popup state to take effect. @@ -1009,7 +1009,6 @@ "owner-events" grab in X11 parlance), while the top most grabbing popup will always have keyboard focus. </description> - <arg name="seat" type="object" interface="wl_seat" summary="the wl_seat of the user event"/> <arg name="serial" type="uint" summary="the serial of the user event"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/xwayland-keyboard-grab/README new/wayland-protocols-1.9/unstable/xwayland-keyboard-grab/README --- old/wayland-protocols-1.7/unstable/xwayland-keyboard-grab/README 1970-01-01 01:00:00.000000000 +0100 +++ new/wayland-protocols-1.9/unstable/xwayland-keyboard-grab/README 2017-07-11 08:18:18.000000000 +0200 @@ -0,0 +1,4 @@ +Xwayland keyboard grabbing protocol + +Maintainers: +Olivier Fourdan <ofour...@redhat.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml new/wayland-protocols-1.9/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml --- old/wayland-protocols-1.7/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/wayland-protocols-1.9/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml 2017-07-11 08:18:18.000000000 +0200 @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="UTF-8"?> +<protocol name="xwayland_keyboard_grab_unstable_v1"> + + <copyright> + Copyright © 2017 Red Hat Inc. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + </copyright> + + <description summary="Protocol for grabbing the keyboard from Xwayland"> + This protocol is application-specific to meet the needs of the X11 + protocol through Xwayland. It provides a way for Xwayland to request + all keyboard events to be forwarded to a surface even when the + surface does not have keyboard focus. + + In the X11 protocol, a client may request an "active grab" on the + keyboard. On success, all key events are reported only to the + grabbing X11 client. For details, see XGrabKeyboard(3). + + The core Wayland protocol does not have a notion of an active + keyboard grab. When running in Xwayland, X11 applications may + acquire an active grab inside Xwayland but that cannot be translated + to the Wayland compositor who may set the input focus to some other + surface. In doing so, it breaks the X11 client assumption that all + key events are reported to the grabbing client. + + This protocol specifies a way for Xwayland to request all keyboard + be directed to the given surface. The protocol does not guarantee + that the compositor will honor this request and it does not + prescribe user interfaces on how to handle the respond. For example, + a compositor may inform the user that all key events are now + forwarded to the given client surface, or it may ask the user for + permission to do so. + + Compositors are required to restrict access to this application + specific protocol to Xwayland alone. + + Warning! The protocol described in this file is experimental and + backward incompatible changes may be made. Backward compatible + changes may be added together with the corresponding interface + version bump. + Backward incompatible changes are done by bumping the version + number in the protocol and interface names and resetting the + interface version. Once the protocol is to be declared stable, + the 'z' prefix and the version number in the protocol and + interface names are removed and the interface version number is + reset. + </description> + + <interface name="zwp_xwayland_keyboard_grab_manager_v1" version="1"> + <description summary="context object for keyboard grab manager"> + A global interface used for grabbing the keyboard. + </description> + + <request name="destroy" type="destructor"> + <description summary="destroy the keyboard grab manager"> + Destroy the keyboard grab manager. + </description> + </request> + + <request name="grab_keyboard"> + <description summary="grab the keyboard to a surface"> + The grab_keyboard request asks for a grab of the keyboard, forcing + the keyboard focus for the given seat upon the given surface. + + The protocol provides no guarantee that the grab is ever satisfied, + and does not require the compositor to send an error if the grab + cannot ever be satisfied. It is thus possible to request a keyboard + grab that will never be effective. + + The protocol: + + * does not guarantee that the grab itself is applied for a surface, + the grab request may be silently ignored by the compositor, + * does not guarantee that any events are sent to this client even + if the grab is applied to a surface, + * does not guarantee that events sent to this client are exhaustive, + a compositor may filter some events for its own consumption, + * does not guarantee that events sent to this client are continuous, + a compositor may change and reroute keyboard events while the grab + is nominally active. + </description> + + <arg name="id" type="new_id" interface="zwp_xwayland_keyboard_grab_v1"/> + <arg name="surface" type="object" interface="wl_surface" + summary="surface to report keyboard events to"/> + <arg name="seat" type="object" interface="wl_seat" + summary="the seat for which the keyboard should be grabbed"/> + </request> + </interface> + + <interface name="zwp_xwayland_keyboard_grab_v1" version="1"> + <description summary="interface for grabbing the keyboard"> + A global interface used for grabbing the keyboard. + </description> + + <request name="destroy" type="destructor"> + <description summary="destroy the grabbed keyboard object"> + Destroy the grabbed keyboard object. If applicable, the compositor + will ungrab the keyboard. + </description> + </request> + </interface> +</protocol> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/wayland-protocols-1.7/wayland-protocols-uninstalled.pc.in new/wayland-protocols-1.9/wayland-protocols-uninstalled.pc.in --- old/wayland-protocols-1.7/wayland-protocols-uninstalled.pc.in 1970-01-01 01:00:00.000000000 +0100 +++ new/wayland-protocols-1.9/wayland-protocols-uninstalled.pc.in 2016-08-30 11:13:08.000000000 +0200 @@ -0,0 +1,5 @@ +pkgdatadir=@abs_top_srcdir@ + +Name: Wayland Protocols +Description: Wayland protocol files (not installed) +Version: @WAYLAND_PROTOCOLS_VERSION@ ++++++ wayland-protocols.keyring ++++++ --- /var/tmp/diff_new_pack.AJcXQo/_old 2017-07-21 22:36:12.960308798 +0200 +++ /var/tmp/diff_new_pack.AJcXQo/_new 2017-07-21 22:36:12.960308798 +0200 @@ -1,7 +1,7 @@ -pub 4096R/0xA6EEEC9E0136164A 2011-06-30 [expires: 2016-07-21] - Key fingerprint = 8307 C0A2 24BA BDA1 BABD 0EB9 A6EE EC9E 0136 164A -uid [ unknown] Jonas Ådahl <jad...@gmail.com> -sub 4096R/0x3E1EB364649837DC 2011-06-30 [expires: 2016-07-21] +pub rsa4096 2011-06-30 [SC] [expires: 2018-07-22] + 8307C0A224BABDA1BABD0EB9A6EEEC9E0136164A +uid [ unknown] Jonas Ådahl <jad...@gmail.com> +sub rsa4096 2011-06-30 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