[PATCH] Do not set dpms to standby which cause system could not be resotred when system is locked at the second time.
Wang, Quanxian
quanxian.wang at intel.com
Fri Aug 24 04:00:07 PDT 2012
Could not resotred the system. Sorry
_____________________________________________
From: Wang, Quanxian
Sent: Friday, August 24, 2012 6:57 PM
To: wayland-devel at 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.wang at intel.com<mailto:quanxian.wang at 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;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120824/7e3ff7c1/attachment.html>
More information about the wayland-devel
mailing list