<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jan 18, 2014 at 3:55 PM, Thomas Lübking <span dir="ltr"><<a href="mailto:thomas.luebking@gmail.com" target="_blank">thomas.luebking@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br></div>
KWin cannot take care of moving it if plasma determines the position, but i think that the client requesting the OSD should determine the preferred/requried screen (see brightness example for why) and KWin the position.<br>

</blockquote><div><br></div><div>Currently Plasma does not determine the position afaics, just the size, the placing looks like it's done by kwin. How would the positioning work inside kwin and where? I now set the NET::Notification window type on the OSD, would there be some special "if (windowType == NET::Notification) { position stuff; } ? I'd like to play around with that for a bit.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
KWin can then avoid window collisions (as is now, in "smart", maybe with a center preference) and esp. fullscreen windows in the multiscreen case (if the OSD doesn't care), resp. we can allow a particular placing for OSDs (what could more or less be a simplified config for a window rule on screen/placing/position)<br>


"Smart" placement is typically not a client job.<br></blockquote><div><br></div><div>+1</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Most important (from client side) about this window type should be fully input shaped ("output only") and denying input focus (latter "faking" override_redirect)<br>
We cannot enforce either from KWin's side if we're re-using an existing type.<br></blockquote><div><br></div><div>Done now.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


OT about flash: minitube.<br></blockquote><div><br></div><div>Btw does it also handle when you click a youtube link you got from someone (IM, email etc)?</div><div><br></div><div>Cheers</div></div>-- <br><div><span style="color:rgb(102,102,102)">Martin Klapetek | KDE Developer</span></div>


</div></div>