<div dir="ltr"><div style="" class="markdown-here-wrapper"><p style="margin:1.2em 0px!important">Éric, what I said is also in line with Jasper’s comment:</p>
<blockquote style="margin:1.2em 0px;border-left:4px solid rgb(221,221,221);padding:0px 1em;color:rgb(119,119,119);quotes:none">
<p style="margin:1.2em 0px!important">In the Windows world, system tray icons were used for long running  applications where putting them in the taskbar was considered “too  heavy”, like IM clients and music players. This was ultimately seen as a  poor design for the taskbar which has been since fixed in Windows.</p>
</blockquote>
<p style="margin:1.2em 0px!important">but this model is a classical server/client thing:</p>
<ul style="margin:1.2em 0px;padding-left:2em">
<li style="margin:0.5em 0px">your system update notifier checks if there are updates and allows you to launch an (independent) updater</li>
<li style="margin:0.5em 0px">your torrent downloader downloads torrents in the background and allows you to lauch a GUI to interact with the queue (maybe it allows multiple different clients)</li>
<li style="margin:0.5em 0px">the CUPS server interacts with your printers. a notification icon allows you to see the status of running jobs and to launch a print queue application and printer config dialog</li>
</ul>
<p style="margin:1.2em 0px!important">and your music player doesn’t need anything in the notification area because that’s what MPRIS is for.</p>
<p style="margin:1.2em 0px!important">all of those aren’t cases where the client you open “goes to” the notification area once you close the window. you simply close some GUI interacting with the server/daemon running in the background which is represented by the notification area icon.</p>
<p style="margin:1.2em 0px!important">best, philipp</p>
<div title="MDH:PGRpdj48ZGl2PjxkaXY+PGRpdj48ZGl2PjxkaXY+w4lyaWMsIHdoYXQgSSBzYWlkIGlzIGFsc28g
aW4gbGluZSB3aXRoIEphc3BlcuKAmXMgY29tbWVudDo8YnI+PGJyPiZndDsgSW4gdGhlIFdpbmRv
d3Mgd29ybGQsIHN5c3RlbSB0cmF5IGljb25zIHdlcmUgdXNlZCBmb3IgbG9uZyBydW5uaW5nIAph
cHBsaWNhdGlvbnMgd2hlcmUgcHV0dGluZyB0aGVtIGluIHRoZSB0YXNrYmFyIHdhcyBjb25zaWRl
cmVkICJ0b28gCmhlYXZ5IiwgbGlrZSBJTSBjbGllbnRzIGFuZCBtdXNpYyBwbGF5ZXJzLiBUa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ZW7igJl0IGNhc2VzIHdo
ZXJlIHRoZSBjbGllbnQgeW91IG9wZW4g4oCcZ29lcyB0b+KAnSB0aGUgbm90aWZpY2F0aW9uIGFy
ZWEgb25jZSB5b3UgY2xvc2UgdGhlIHdpbmRvdy4geW91IHNpbXBseSBjbG9zZSBzb21lIEdVSSBp
bnRlcmFjdGluZyB3aXRoIHRoZSBzZXJ2ZXIvZGFlbW9uIHJ1bm5pbmcgaW4gdGhlIGJhY2tncm91
bmQgd2hpY2ggaXMgcmVwcmVzZW50ZWQgYnkgdGhlIG5vdGlmaWNhdGlvbiBhcmVhIGljb24uPGJy
Pjxicj48L2Rpdj5iZXN0LCBwaGlsaXBwPGJyPg==" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div></div><br><div class="gmail_quote"><div dir="ltr">Pekka Paalanen <<a href="mailto:ppaalanen@gmail.com">ppaalanen@gmail.com</a>> schrieb am Mi., 9. Sep. 2015 um 08:29 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 08 Sep 2015 13:51:48 -0400<br>
Éric Tremblay <<a href="mailto:xdg@deimos.ca" target="_blank">xdg@deimos.ca</a>> wrote:<br>
<br>
> As for wayland, i don't know enough about it, but i would imagine it<br>
> would be trivial to adapt this simple mechanism to wayland.<br>
<br>
Hi,<br>
<br>
well, there are a few of fundamental issues:<br>
<br>
1. Wayland/desktop does not have a global coordinate system visible to apps.<br>
<br>
2. Wayland does not have global identifiers for any client resources.<br>
<br>
3. Wayland does not have a generic client-to-client communication<br>
   mechanism, that is, there are no generic properties or anything you<br>
   could abuse as IPC.<br>
<br>
The first issue is a feature designed on purpose which we've fought<br>
hard to keep.<br>
<br>
The second issue is also a deliberate design, though there are cases<br>
where it will be useful to explicitly create a handle for a wl_surface<br>
or such, pass it to another process, and let that new process use it as<br>
a reference to e.g. tell the compositor who spawned it. This protocol<br>
extension is still to be designed.<br>
<br>
The third issue is on purpose too. Client-to-client communications that<br>
do not *absolutely require* specifically the display server to enforce<br>
anything should not go through the display server. Besides, due issue<br>
#2, there is no way a client could reference another client or its<br>
resource at will to begin with. (Client actually means a connection,<br>
that is, a wl_display instance; similar Xlib's Display created by<br>
XOpenDisplay.)<br>
<br>
There is also no such concept as "grab the server". You have to design<br>
protocol extensions to be race-free from the start.<br>
<br>
Regardless of whether your idea is a good one or not, in Wayland you<br>
would somehow let the compositor know of the relationship between the<br>
objects you want to associate, and then the compositor will just do the<br>
right thing. Passing coordinates will not work on Wayland/desktop,<br>
because clients cannot know where things are.<br>
<br>
<br>
Thanks,<br>
pq<br>
<br>
PS. display server = compositor = window manager, all in one.<br>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org" target="_blank">xdg@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xdg" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
</blockquote></div>