<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dear KWiners,</div>
<div class="elementToProof ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">Some recent developments in MBition required internally to have an effect that implements an internal Wayland protocol.</div>
<div><br class="ContentPasted0">
</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">At the moment we expose KWaylandServer::Display *Effects::waylandDisplay() which is internal to kwin nowadays, so it makes it a bit harder to hook ourselves into it. Here's some not-too-much-out-there solutions I can think of:</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">- we connect to wayland separately from the effect.</div>
<div class="ContentPasted0">- we expose wl_* pointers, then we figure it out on the effect side. In general, just wl_display should be fine, we might also need other pointers as the implementations need them, thinking of wl_output.</div>
<div class="ContentPasted0">- we install kwaylandserver headers so it can be linked against.</div>
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0 elementToProof">What do you think would work best? IMO, the easiest would be installing the headers, this way we can reuse the work that already is there. We don't need to keep promises over this API.<br>
</div>
<div><br class="ContentPasted0">
</div>
<div><br class="ContentPasted0">
</div>
Best,</div>
<div class="elementToProof ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Aleix with a new hat<br>
</div>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//DE">
<table cellpadding="0" cellspacing="0" border="0">
<font face="sans-serif, Arial, Helvetica" size="-1" color="#808080"><br>
If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.<br>
<br>
</font>
</table>
</body>
</html>