This patch is invalid. It is special platform issue.

sorry

From: wayland-devel-bounces+quanxian.wang=intel....@lists.freedesktop.org 
[mailto:wayland-devel-bounces+quanxian.wang=intel....@lists.freedesktop.org] On 
Behalf Of Wang, Quanxian
Sent: Friday, August 24, 2012 7:00 PM
To: wayland-devel@lists.freedesktop.org
Subject: RE: [PATCH] Do not set dpms to standby which cause system could not be 
resotred when system is locked at the second time.

Could not resotred the system. Sorry

_____________________________________________
From: Wang, Quanxian
Sent: Friday, August 24, 2012 6:57 PM
To: 
wayland-devel@lists.freedesktop.org<mailto:wayland-devel@lists.freedesktop.org>
Cc: Wang, Quanxian
Subject: [PATCH] Do not set dpms to standby which cause system could be 
resotred when system is locked at the second time.


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 not restore the system.

>From Quanxian Wang <quanxian.w...@intel.com<mailto:quanxian.w...@intel.com>>

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
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to