Reproduce this:
1)      Weston -i1 and after 1 second, the system go into idle and wait a 
little while, go to lock status
2)      Press key and the screen is fine
3)      After 1 second, system go to idle and wait a little while, go to lock 
status again
4)      Whatever you press any key or mouse, you could restore the system.

>From Quanxian Wang <[email protected]>

Do not set dpms to standby which cause system could be restored.

diff --git a/src/shell.c b/src/shell.c
index 4d6bc4f..1df571b 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -2470,10 +2470,6 @@ lock(struct wl_listener *listener, void *data)
        struct workspace *ws = get_current_workspace(shell);

        if (shell->locked) {
-               wl_list_for_each(output, &shell->compositor->output_list, link)
-                       /* TODO: find a way to jump to other DPMS levels */
-                       if (output->set_dpms)
-                               output->set_dpms(output, WESTON_DPMS_STANDBY);
                return;
        }

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to