Logo

index : raylib-jai

---

  • summary
  • about
  • tree
  • log
  • branches
<< path: root/public/raylib-jai.git/html/Raylib/raylib/src/external/glfw/deps/wayland/idle-inhibit-unstable-v1.xml blob: 9c06cdcba6c06f978ac81ab70ad4b3f77911c4a4 [raw] [clear marker]

        
0<?xml version="1.0" encoding="UTF-8"?>
1<protocol name="idle_inhibit_unstable_v1">
2
3 <copyright>
4 Copyright © 2015 Samsung Electronics Co., Ltd
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice (including the next
14 paragraph) shall be included in all copies or substantial portions of the
15 Software.
16
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="zwp_idle_inhibit_manager_v1" version="1">
27 <description summary="control behavior when display idles">
28 This interface permits inhibiting the idle behavior such as screen
29 blanking, locking, and screensaving. The client binds the idle manager
30 globally, then creates idle-inhibitor objects for each surface.
31
32 Warning! The protocol described in this file is experimental and
33 backward incompatible changes may be made. Backward compatible changes
34 may be added together with the corresponding interface version bump.
35 Backward incompatible changes are done by bumping the version number in
36 the protocol and interface names and resetting the interface version.
37 Once the protocol is to be declared stable, the 'z' prefix and the
38 version number in the protocol and interface names are removed and the
39 interface version number is reset.
40 </description>
41
42 <request name="destroy" type="destructor">
43 <description summary="destroy the idle inhibitor object">
44 Destroy the inhibit manager.
45 </description>
46 </request>
47
48 <request name="create_inhibitor">
49 <description summary="create a new inhibitor object">
50 Create a new inhibitor object associated with the given surface.
51 </description>
52 <arg name="id" type="new_id" interface="zwp_idle_inhibitor_v1"/>
53 <arg name="surface" type="object" interface="wl_surface"
54 summary="the surface that inhibits the idle behavior"/>
55 </request>
56
57 </interface>
58
59 <interface name="zwp_idle_inhibitor_v1" version="1">
60 <description summary="context object for inhibiting idle behavior">
61 An idle inhibitor prevents the output that the associated surface is
62 visible on from being set to a state where it is not visually usable due
63 to lack of user interaction (e.g. blanked, dimmed, locked, set to power
64 save, etc.) Any screensaver processes are also blocked from displaying.
65
66 If the surface is destroyed, unmapped, becomes occluded, loses
67 visibility, or otherwise becomes not visually relevant for the user, the
68 idle inhibitor will not be honored by the compositor; if the surface
69 subsequently regains visibility the inhibitor takes effect once again.
70 Likewise, the inhibitor isn't honored if the system was already idled at
71 the time the inhibitor was established, although if the system later
72 de-idles and re-idles the inhibitor will take effect.
73 </description>
74
75 <request name="destroy" type="destructor">
76 <description summary="destroy the idle inhibitor object">
77 Remove the inhibitor effect from the associated wl_surface.
78 </description>
79 </request>
80
81 </interface>
82</protocol>
83
Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit