| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <protocol name="xdg_system_bell_v1"> |
| 3 | <copyright> |
| 4 | Copyright © 2016, 2023 Red Hat |
| 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="xdg_system_bell_v1" version="1"> |
| 27 | <description summary="system bell"> |
| 28 | This global interface enables clients to ring the system bell. |
| 29 | |
| 30 | Warning! The protocol described in this file is currently in the testing |
| 31 | phase. Backward compatible changes may be added together with the |
| 32 | corresponding interface version bump. Backward incompatible changes can |
| 33 | only be done by creating a new major version of the extension. |
| 34 | </description> |
| 35 | |
| 36 | <request name="destroy" type="destructor"> |
| 37 | <description summary="destroy the system bell object"> |
| 38 | Notify that the object will no longer be used. |
| 39 | </description> |
| 40 | </request> |
| 41 | |
| 42 | <request name="ring"> |
| 43 | <description summary="ring the system bell"> |
| 44 | This requests rings the system bell on behalf of a client. How ringing |
| 45 | the bell is implemented is up to the compositor. It may be an audible |
| 46 | sound, a visual feedback of some kind, or any other thing including |
| 47 | nothing. |
| 48 | |
| 49 | The passed surface should correspond to a toplevel like surface role, |
| 50 | or be null, meaning the client doesn't have a particular toplevel it |
| 51 | wants to associate the bell ringing with. See the xdg-shell protocol |
| 52 | extension for a toplevel like surface role. |
| 53 | </description> |
| 54 | <arg name="surface" type="object" interface="wl_surface" |
| 55 | allow-null="true" summary="associated surface"/> |
| 56 | </request> |
| 57 | </interface> |
| 58 | </protocol> |