weston/compositor
Pekka Paalanen bce2d3f9a7 compositor: add IDLE state
Add WLSC_COMPOSITOR_IDLE state to the possible compositor internal
states, and fix the drm backend to restore the previous state instead of
forcing ACTIVE.

Normally, the compositor only uses the ACTIVE and SLEEPING states. The
IDLE state is another active state, reserved for the shell, when the
shell wants to have unlock() calls on activity, but the compositor cannot
be SLEEPING.

Use the IDLE state to fix exposing the unlock dialog while a screensaver
is animating. Without this fix, is it impossible to activate the unlock
dialog without waiting for a second idle timeout that really puts the
compositor into SLEEPING.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2011-12-14 13:44:29 +02:00
..
.gitignore Update .gitignores 2011-12-08 11:36:36 +02:00
compositor-drm.c compositor: add IDLE state 2011-12-14 13:44:29 +02:00
compositor-openwfd.c compositor-*: check for surfaceless_gles2 instead of surfaceless_opengl 2011-11-01 11:18:39 -04:00
compositor-wayland.c wl_shell_surface adaptation 2011-12-04 14:54:26 -05:00
compositor-x11.c compositor-x11: convert (some) of X11 buttons to linux input 2011-12-08 13:20:40 -05:00
compositor.c compositor: add IDLE state 2011-12-14 13:44:29 +02:00
compositor.h compositor: add IDLE state 2011-12-14 13:44:29 +02:00
data-device.c Implement the new dnd/selection protocol 2011-11-23 16:20:28 -05:00
evdev.c evdev: run flush_motion only when needed 2011-12-12 13:00:03 +02:00
image-loader.c compositor: Split backends into modules 2011-05-02 22:09:20 -04:00
Makefile.am compositor: Split the animation code out of tablet-shell 2011-12-04 15:30:47 -05:00
screenshooter.c Change remaining GPLv2 headers to MIT 2011-09-19 17:29:24 -04:00
shell.c compositor: add IDLE state 2011-12-14 13:44:29 +02:00
switcher.c Make use of wl_resource.destroy_listener_list for surfaces. 2011-05-06 16:03:33 -04:00
tablet-shell.c compositor: refactor client forking code 2011-12-08 10:42:00 +02:00
tty.c compositor-tty: Fix ioctl error handling 2011-12-05 09:48:42 -05:00
util.c compositor: Move a few more utils to util.c 2011-12-04 15:47:16 -05:00
xserver-launcher.c x11: Fix last-minute edit bug 2011-10-12 00:01:18 -04:00