Logo

index : raylib-jai

---

  • summary
  • about
  • tree
  • log
  • branches
<< path: root/public/raylib-jai.git/html/Raylib/raylib/src/external/RGFW/deps/wayland/pointer-warp-v1.xml blob: 158dad83c5db23eee7c8aa1f1215dcc00b309da9 [raw] [clear marker]

        
0<?xml version="1.0" encoding="UTF-8"?>
1<protocol name="pointer_warp_v1">
2 <copyright>
3 Copyright © 2024 Neal Gompa
4 Copyright © 2024 Xaver Hugl
5 Copyright © 2024 Matthias Klumpp
6 Copyright © 2024 Vlad Zahorodnii
7
8 Permission is hereby granted, free of charge, to any person obtaining a
9 copy of this software and associated documentation files (the "Software"),
10 to deal in the Software without restriction, including without limitation
11 the rights to use, copy, modify, merge, publish, distribute, sublicense,
12 and/or sell copies of the Software, and to permit persons to whom the
13 Software is furnished to do so, subject to the following conditions:
14 The above copyright notice and this permission notice (including the next
15 paragraph) shall be included in all copies or substantial portions of the
16 Software.
17 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 DEALINGS IN THE SOFTWARE.
24 </copyright>
25
26 <interface name="wp_pointer_warp_v1" version="1">
27 <description summary="reposition the pointer to a location on a surface">
28 This global interface allows applications to request the pointer to be
29 moved to a position relative to a wl_surface.
30
31 Note that if the desired behavior is to constrain the pointer to an area
32 or lock it to a position, this protocol does not provide a reliable way
33 to do that. The pointer constraint and pointer lock protocols should be
34 used for those use cases instead.
35
36 Warning! The protocol described in this file is currently in the testing
37 phase. Backward compatible changes may be added together with the
38 corresponding interface version bump. Backward incompatible changes can
39 only be done by creating a new major version of the extension.
40 </description>
41
42 <request name="destroy" type="destructor">
43 <description summary="destroy the warp manager">
44 Destroy the pointer warp manager.
45 </description>
46 </request>
47
48 <request name="warp_pointer">
49 <description summary="reposition the pointer">
50 Request the compositor to move the pointer to a surface-local position.
51 Whether or not the compositor honors the request is implementation defined,
52 but it should
53 - honor it if the surface has pointer focus, including
54 when it has an implicit pointer grab
55 - reject it if the enter serial is incorrect
56 - reject it if the requested position is outside of the surface
57
58 Note that the enter serial is valid for any surface of the client,
59 and does not have to be from the surface the pointer is warped to.
60
61 </description>
62 <arg name="surface" type="object" interface="wl_surface"
63 summary="surface to position the pointer on"/>
64 <arg name="pointer" type="object" interface="wl_pointer"
65 summary="the pointer that should be repositioned"/>
66 <arg name="x" type="fixed"/>
67 <arg name="y" type="fixed"/>
68 <arg name="serial" type="uint" summary="serial number of the enter event"/>
69 </request>
70 </interface>
71</protocol>
72
Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit