<p dir="ltr">I kinda don't like idea of the command line option.. For instance if someone uses this option on X11 they are lift without lockscreen.. Any other solution possible?</p>
<p dir="ltr">Ideally ksmserver should just retire in Wayland world imo and other functionality of it should be split out of it..</p>
<div class="gmail_quote">On Nov 11, 2015 2:40 PM, "Martin Gräßlin" <<a href="mailto:mgraesslin@kde.org">mgraesslin@kde.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



 <div>
  <div style="font-family:Verdana,Arial,Helvetica,Sans-Serif">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border:1px #c9c399 solid;border-radius:6px">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/126022/" target="_blank">https://git.reviewboard.kde.org/r/126022/</a>
     </td>
    </tr>
   </table>
   <br>




<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border:1px #888a85 solid;border-radius:6px">
 <tr>
  <td>

<div>Review request for Plasma and Bhushan Shah.</div>
<div>By Martin Gräßlin.</div>










<div style="margin-top:1.5em">
 <b style="color:#575012;font-size:10pt">Repository: </b>
plasma-workspace
</div>


<h1 style="color:#575012;font-size:10pt;margin-top:1.5em">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border:1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin:0;padding:0;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word">On Wayland ksmserver should not be responsible for the lockscreen,
but the compositor takes care of providing the lock screen. To prevent
conflicts KSMServer gets a new command line option to enable it.

The code is slightly changed to not pass a series of boolean flags to
KSMServer, but a flags type.

The startplasma script for Wayland is adjusted to start ksmserver with
the new command line option.</pre>
  </td>
 </tr>
</table>


<h1 style="color:#575012;font-size:10pt;margin-top:1.5em">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border:1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin:0;padding:0;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word"><p style="padding:0;margin:0;line-height:inherit;white-space:inherit">Started a Plasma/Wayland session with the change.</p>
<ul style="padding:0;margin:0 0 0 1em;line-height:inherit;white-space:normal">
<li style="padding:0;margin:0;line-height:inherit;white-space:normal">ksmserver is started with --no-lockscreen</li>
<li style="padding:0;margin:0;line-height:inherit;white-space:normal">Using loginctl lock-session gives me one lock window, instead of two as before</li>
</ul></pre>
  </td>
 </tr>
</table>


<h1 style="color:#575012;font-size:10pt;margin-top:1.5em">Diffs </h1>
<ul style="margin-left:3em;padding-left:0">

 <li>ksmserver/main.cpp <span style="color:grey">(b1f1b68fe41b86da42d7bea2c088db6d89f0d844)</span></li>

 <li>ksmserver/server.h <span style="color:grey">(87e46cbad70913b83f976ea2938606042c653c69)</span></li>

 <li>ksmserver/server.cpp <span style="color:grey">(ffb15d230b927c5ee28b7196904e0061a14b2d09)</span></li>

 <li>startkde/startplasma.cmake <span style="color:grey">(4fab3b1597fee40bf69551af895d5248955eadea)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/126022/diff/" style="margin-left:3em" target="_blank">View Diff</a></p>






  </td>
 </tr>
</table>



  </div>
 </div>


</blockquote></div>