<table><tr><td style="">andreyby added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D17706">View Revision</a></tr></table><br /><div><div><p><strong>davidedmundson </strong><br />
<em>we don't want to cursor grab in testing mode, this change is lost</em>    yes, did not notice<br />
<em>This is still relevant A cursor can be in none.</em>    I think this is superfluous, because the default focus is on the first screen.<br />
<em>why are we changing the window flags?</em>   Because with the flag X11BypassWindowManagerHint the focus will not be able to change, so it needs to be removed, change the focus, put flag back.</p>

<p>I rewrited the patch with minimal changes.</p>

<p><strong>abetts </strong><br />
It is easy to reproduce when more than one monitor is connected, you must set the cursor on any monitor except the first one and block the screen with hot keys, after which you will notice that the focus of the password entry remains on the first screen. <br />
This problem may be associated with the bug 395639.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R133 KScreenLocker</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17706">https://phabricator.kde.org/D17706</a></div></div><br /><div><strong>To: </strong>andreyby, davidedmundson<br /><strong>Cc: </strong>abetts, davidedmundson, plasma-devel, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart<br /></div>