mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
a0bce86006
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. |
||
---|---|---|
.. | ||
support | ||
.gitignore | ||
idle-inhibit.c | ||
idle.c | ||
meson.build | ||
multi-pointer.c | ||
output-layout.c | ||
pointer.c | ||
rotation.c | ||
screenshot.c | ||
simple.c | ||
tablet.c | ||
touch.c |