<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:10.5pt;">
<div align="left" style="text-align:justify;">Reproduce this:</div>
<ol style="text-align:justify;margin:0;padding-left:18pt;">
<li>Weston –i1 and after 1 second, the system go into idle and wait a little while, go to lock status</li><li>Press key and the screen is fine</li><li>After 1 second, system go to idle and wait a little while, go to lock status again</li><li>Whatever you press any key or mouse, you could restore the system.</li></ol>
<div align="left" style="text-align:justify;"><font face="Times New Roman"> </font></div>
<div align="left" style="text-align:justify;">From Quanxian Wang <quanxian.wang@intel.com></div>
<div align="left" style="text-align:justify;"><font face="Times New Roman"> </font></div>
<div align="left" style="text-align:justify;">Do not set dpms to standby which cause system could be restored.</div>
<div align="left" style="text-align:justify;"><font face="Times New Roman"> </font></div>
<div align="left" style="text-align:justify;">diff --git a/src/shell.c b/src/shell.c</div>
<div align="left" style="text-align:justify;">index 4d6bc4f..1df571b 100644</div>
<div align="left" style="text-align:justify;">--- a/src/shell.c</div>
<div align="left" style="text-align:justify;">+++ b/src/shell.c</div>
<div align="left" style="text-align:justify;">@@ -2470,10 +2470,6 @@ lock(struct wl_listener *listener, void *data)</div>
<div align="left" style="text-align:justify;">        struct workspace *ws = get_current_workspace(shell);</div>
<div align="left" style="text-align:justify;"> </div>
<div align="left" style="text-align:justify;">        if (shell->locked) {</div>
<div align="left" style="text-align:justify;">-               wl_list_for_each(output, &shell->compositor->output_list, link)</div>
<div align="left" style="text-align:justify;">-                       /* TODO: find a way to jump to other DPMS levels */</div>
<div align="left" style="text-align:justify;">-                       if (output->set_dpms)</div>
<div align="left" style="text-align:justify;">-                               output->set_dpms(output, WESTON_DPMS_STANDBY);</div>
<div align="left" style="text-align:justify;">                return;</div>
<div align="left" style="text-align:justify;">        }</div>
<div align="left" style="text-align:justify;"><font face="Times New Roman"> </font></div>
</span></font>
</body>
</html>