[PATCH 1/9] desktop-shell: screen locking protocol

2011-11-15 Thread Pekka Paalanen
Add protocol and functions for supporting screen locking, triggered by activity timeout. After activity timeout, compositor starts the fade to black, and then enters SLEEPING state. At that point it calls lock() in the shell plugin. When input events trigger a wakeup, unlock() in the shell plugin

[PATCH 1/4] desktop-shell: screen locking protocol

2011-11-07 Thread Pekka Paalanen
Add protocol and functions for supporting screen locking, triggered by activity timeout. After activity timeout, compositor starts the fade to black, and then enters SLEEPING state. At that point it calls lock() in the shell plugin. When input events trigger a wakeup, unlock() in the shell plugin

Screen locking protocol

2011-11-07 Thread Pekka Paalanen
Hi, here is the screen locking protocol patch set for review. It does not actually implement locking yet, only the protocol and hooks intended for it. To test, run the compositor with WAYLAND_DEBUG=1 to see the protocol and -i 5 to have the idle timeout as 5 seconds. Just before sending I