wlroots-hyprland/examples
Markus Ongyerth a0bce86006 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.
2018-02-17 12:38:07 +01:00
..
support Remove wlr_backend.events.{output_remove,device_remove} 2018-02-12 10:36:43 +01:00
.gitignore Add xdg shell stubs 2017-08-09 12:31:16 -04:00
idle-inhibit.c adds the client example for idle-inhibit 2018-02-17 12:38:07 +01:00
idle.c wayland protocol headers: use double-quote for includes 2018-02-15 07:17:02 +01:00
meson.build adds the client example for idle-inhibit 2018-02-17 12:38:07 +01:00
multi-pointer.c output: add damage tracking via buffer age 2018-01-21 00:06:35 +01:00
output-layout.c render: make wlr_renderer_clear take a float[4] for the color 2018-02-03 09:32:02 +01:00
pointer.c output: add damage tracking via buffer age 2018-01-21 00:06:35 +01:00
rotation.c render: make wlr_renderer_clear take a float[4] for the color 2018-02-03 09:32:02 +01:00
screenshot.c wayland protocol headers: use double-quote for includes 2018-02-15 07:17:02 +01:00
simple.c output: add damage tracking via buffer age 2018-01-21 00:06:35 +01:00
tablet.c render: make wlr_renderer_clear take a float[4] for the color 2018-02-03 09:32:02 +01:00
touch.c render: make wlr_renderer_clear take a float[4] for the color 2018-02-03 09:32:02 +01:00