<div class="gmail_quote">2011/4/6 Michal Suchanek <span dir="ltr"><<a href="mailto:hramrach@centrum.cz">hramrach@centrum.cz</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2011/4/6 Joakim Sindholt <<a href="mailto:bacn@zhasha.com">bacn@zhasha.com</a>>:<br>
<div class="im">> On Wed, 2011-04-06 at 11:42 +0200, Michal Suchanek wrote:<br>
>> 2011/4/5 Vinícius dos Santos Oliveira <<a href="mailto:vini.ipsmaker@gmail.com">vini.ipsmaker@gmail.com</a>>:<br>
>><br>
>> >> How will apps like mplayer/vlc/browsers-playing-videos tell the compositor<br>
>> >> that they are "busy" drawing and that the lock should NOT be engaged even<br>
>> >> though there hasn't been any keyboard/mouse activity for long stretches? As<br>
>> >> compared to "default" apps that just paint "im bored" over and over again,<br>
>> >> where the idle lock should get switched on...<br>
>> ><br>
>> > Take a look at<br>
>> > <a href="http://lists.freedesktop.org/archives/xdg/2009-April/010317.html" target="_blank">http://lists.freedesktop.org/archives/xdg/2009-April/010317.html</a><br>
>> ><br>
>><br>
>> So is dbus absolutely required part of wayland then?<br>
>><br>
>> Thanks<br>
>><br>
>> Michal<br>
><br>
> No, but as it is a standard desktop component for IPC it seems fitting<br>
> to use it. The specification is intentionally vague on the subject.<br>
><br>
<br>
</div>JFYI I have a desktop environment running completely without dbus.<br>
That does not mean that dbus cannot or should not be used. It is just<br>
not as standard as the two most bloated desktop environments might<br>
make it seem. AFAICT dbus is just a replacement for a directory tree<br>
with unix sockets under /tmp. Either is equally functional.<br>
<br>
Also the Inhibit call is totally broken (assuming it turns of the<br>
screensaver unlike the other calls that just simulate activity).<br>
<br>
eg. mplayer starts to play back a movie, inhibits screensaver, and<br>
crashes. Now screensaver never activates.<br></blockquote><div><br></div><div><br></div><div>It's not difficult for a D-Bus service implementation to monitor for disconnection events by its clients. If mplayer crashes, wayland could easily clear out the inhibition that mplayer had installed.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Thanks<br>
<font color="#888888"><br>
Michal<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</div></div></blockquote></div><br>