aboutsummaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-02-17 11:02:00 +0100
committerMarkus Ongyerth <ongy@ongy.net>2018-02-17 12:38:07 +0100
commita0bce86006788432601b60ff1cb7a373310c7253 (patch)
treecc832e54d2dc61a5a3ff9e2b53382aebd7e9cb42 /protocol
parent50d573b2ca68013a32828ae061ac2c242db333c6 (diff)
adds the client example for idle-inhibit
Adds a client example for the idle-inhibit-unsable-v1 protocol. The client creates a surface and requests an idle inhibitor. On pointer BTN_LEFT the inhibitor is destroyed if it exists, or recreated if it was destroyed before. The surfaces colour is based on the idle-inhibit state. Green if an inhibitor exists, yellow if it does not.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocol/meson.build b/protocol/meson.build
index 7e111613..ac9c83a3 100644
--- a/protocol/meson.build
+++ b/protocol/meson.build
@@ -33,6 +33,7 @@ protocols = [
client_protocols = [
[wl_protocol_dir, 'unstable/xdg-shell/xdg-shell-unstable-v6.xml'],
+ [wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'],
[wl_protocol_dir, 'unstable/idle-inhibit/idle-inhibit-unstable-v1.xml'],
'gamma-control.xml',
'gtk-primary-selection.xml',