aboutsummaryrefslogtreecommitdiff
path: root/examples/idle-inhibit.c
AgeCommit message (Collapse)Author
2018-03-19render: split render.h into wlr_renderer.h and wlr_texture.hemersion
2018-02-23idle-inhibit: style adjustments and motivationMarkus Ongyerth
2018-02-21idle-inhibit: second feedback passMarkus Ongyerth
2018-02-20idle-inhibit: feedback passMarkus Ongyerth
2018-02-17handle xdg close event in idle-inhibit exampleMarkus Ongyerth
Fixes a crash when the idle-inhibit example application is closed by the compositor, instead of Ctr+C on the spawning terminal, by actualy handling the close request.
2018-02-17adds the client example for idle-inhibitMarkus Ongyerth
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.