aboutsummaryrefslogtreecommitdiffhomepage
path: root/protocols
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-04-29 17:42:07 +0100
committerVaxry <[email protected]>2024-04-29 17:50:07 +0100
commitf2b03e9679bc1a091fecffd98b50a4179b5c7d43 (patch)
treec86033d3436b0354db17e9209633ac7a6594631f /protocols
parent86133983a94a6ad52933e0577b6098dd8e98ed8c (diff)
downloadHyprland-f2b03e9679bc1a091fecffd98b50a4179b5c7d43.tar.gz
Hyprland-f2b03e9679bc1a091fecffd98b50a4179b5c7d43.zip
ext-idle-notify: move to new impl
Diffstat (limited to 'protocols')
-rw-r--r--protocols/idle.xml49
-rw-r--r--protocols/meson.build2
2 files changed, 1 insertions, 50 deletions
diff --git a/protocols/idle.xml b/protocols/idle.xml
deleted file mode 100644
index 92d9989c..00000000
--- a/protocols/idle.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<protocol name="idle">
- <copyright><![CDATA[
- Copyright (C) 2015 Martin Gräßlin
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation, either version 2.1 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- ]]></copyright>
- <interface name="org_kde_kwin_idle" version="1">
- <description summary="User idle time manager">
- This interface allows to monitor user idle time on a given seat. The interface
- allows to register timers which trigger after no user activity was registered
- on the seat for a given interval. It notifies when user activity resumes.
-
- This is useful for applications wanting to perform actions when the user is not
- interacting with the system, e.g. chat applications setting the user as away, power
- management features to dim screen, etc..
- </description>
- <request name="get_idle_timeout">
- <arg name="id" type="new_id" interface="org_kde_kwin_idle_timeout"/>
- <arg name="seat" type="object" interface="wl_seat"/>
- <arg name="timeout" type="uint" summary="The idle timeout in msec"/>
- </request>
- </interface>
- <interface name="org_kde_kwin_idle_timeout" version="1">
- <request name="release" type="destructor">
- <description summary="release the timeout object"/>
- </request>
- <request name="simulate_user_activity">
- <description summary="Simulates user activity for this timeout, behaves just like real user activity on the seat"/>
- </request>
- <event name="idle">
- <description summary="Triggered when there has not been any user activity in the requested idle time interval"/>
- </event>
- <event name="resumed">
- <description summary="Triggered on the first user activity after an idle event"/>
- </event>
- </interface>
-</protocol>
diff --git a/protocols/meson.build b/protocols/meson.build
index 6e7ae666..3b4c4dd1 100644
--- a/protocols/meson.build
+++ b/protocols/meson.build
@@ -30,7 +30,6 @@ protocols = [
['wlr-layer-shell-unstable-v1.xml'],
['wlr-screencopy-unstable-v1.xml'],
['tablet-unstable-v2.xml'],
- ['idle.xml'],
[hl_protocol_dir, 'protocols/hyprland-toplevel-export-v1.xml'],
[hl_protocol_dir, 'protocols/hyprland-global-shortcuts-v1.xml']
]
@@ -53,6 +52,7 @@ new_protocols = [
[wl_protocol_dir, 'unstable/text-input/text-input-unstable-v3.xml'],
[wl_protocol_dir, 'unstable/pointer-constraints/pointer-constraints-unstable-v1.xml'],
[wl_protocol_dir, 'staging/xdg-activation/xdg-activation-v1.xml'],
+ [wl_protocol_dir, 'staging/ext-idle-notify/ext-idle-notify-v1.xml'],
]
wl_protos_src = []