wayland: Update tablet-v2 protocol file to stable version

No functional changes, just removes the 'unstable' wording from the header names and updates some documentation.
main
Frank Praznik 2024-04-11 18:31:48 -04:00
parent 935b6502ac
commit b6cb63adef
No known key found for this signature in database
3 changed files with 15 additions and 15 deletions

View File

@ -39,7 +39,7 @@
#include "xdg-shell-client-protocol.h" #include "xdg-shell-client-protocol.h"
#include "keyboard-shortcuts-inhibit-unstable-v1-client-protocol.h" #include "keyboard-shortcuts-inhibit-unstable-v1-client-protocol.h"
#include "text-input-unstable-v3-client-protocol.h" #include "text-input-unstable-v3-client-protocol.h"
#include "tablet-unstable-v2-client-protocol.h" #include "tablet-v2-client-protocol.h"
#include "primary-selection-unstable-v1-client-protocol.h" #include "primary-selection-unstable-v1-client-protocol.h"
#include "input-timestamps-unstable-v1-client-protocol.h" #include "input-timestamps-unstable-v1-client-protocol.h"

View File

@ -52,7 +52,7 @@
#include "pointer-constraints-unstable-v1-client-protocol.h" #include "pointer-constraints-unstable-v1-client-protocol.h"
#include "primary-selection-unstable-v1-client-protocol.h" #include "primary-selection-unstable-v1-client-protocol.h"
#include "relative-pointer-unstable-v1-client-protocol.h" #include "relative-pointer-unstable-v1-client-protocol.h"
#include "tablet-unstable-v2-client-protocol.h" #include "tablet-v2-client-protocol.h"
#include "text-input-unstable-v3-client-protocol.h" #include "text-input-unstable-v3-client-protocol.h"
#include "viewporter-client-protocol.h" #include "viewporter-client-protocol.h"
#include "xdg-activation-v1-client-protocol.h" #include "xdg-activation-v1-client-protocol.h"

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<protocol name="tablet_unstable_v2"> <protocol name="tablet_v2">
<copyright> <copyright>
Copyright 2014 © Stephen "Lyude" Chandler Paul Copyright 2014 © Stephen "Lyude" Chandler Paul
@ -104,15 +104,6 @@
compositor-specific policy when a tool can be removed. Common approaches compositor-specific policy when a tool can be removed. Common approaches
will likely include some form of removing a tool when all tablets the will likely include some form of removing a tool when all tablets the
tool was used on are removed. tool was used on are removed.
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> </description>
<interface name="zwp_tablet_manager_v2" version="1"> <interface name="zwp_tablet_manager_v2" version="1">
@ -247,7 +238,7 @@
previously been used as cursor surface for a different tool, a previously been used as cursor surface for a different tool, a
protocol error is raised. protocol error is raised.
</description> </description>
<arg name="serial" type="uint" summary="serial of the enter event"/> <arg name="serial" type="uint" summary="serial of the proximity_in event"/>
<arg name="surface" type="object" interface="wl_surface" allow-null="true"/> <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
<arg name="hotspot_x" type="int" summary="surface-local x coordinate"/> <arg name="hotspot_x" type="int" summary="surface-local x coordinate"/>
<arg name="hotspot_y" type="int" summary="surface-local y coordinate"/> <arg name="hotspot_y" type="int" summary="surface-local y coordinate"/>
@ -596,6 +587,10 @@
<event name="name"> <event name="name">
<description summary="tablet device name"> <description summary="tablet device name">
A descriptive name for the tablet device.
If the device has no descriptive name, this event is not sent.
This event is sent in the initial burst of events before the This event is sent in the initial burst of events before the
wp_tablet.done event. wp_tablet.done event.
</description> </description>
@ -604,6 +599,11 @@
<event name="id"> <event name="id">
<description summary="tablet device USB vendor/product id"> <description summary="tablet device USB vendor/product id">
The USB vendor and product IDs for the tablet device.
If the device has no USB vendor/product ID, this event is not sent.
This can happen for virtual devices or non-USB devices, for instance.
This event is sent in the initial burst of events before the This event is sent in the initial burst of events before the
wp_tablet.done event. wp_tablet.done event.
</description> </description>
@ -1156,7 +1156,7 @@
</event> </event>
<event name="leave"> <event name="leave">
<description summary="enter event"> <description summary="leave event">
Notification that this pad is no longer focused on the specified Notification that this pad is no longer focused on the specified
surface. surface.
</description> </description>