[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: No way to advertise an interface?
From:       Thiago Macieira <thiago () kde ! org>
Date:       2021-09-29 18:36:31
Message-ID: 5039431.0zZylAo8sr () tjmaciei-mobl5
[Download RAW message or body]

On Wednesday, 29 September 2021 11:05:11 PDT Anders Feder wrote:
> If I understand correctly that would result in the first media player to
> request the name to be made the owner of the name and thus be removed from
> the list returned by ListQueuedOwners? So to get a full list, you would
> have to also call GetNameOwner. I guess it would indeed get the job done
> though.

The current owner is in the list.

$ qdbus org.freedesktop.DBus /org/freedesktop/DBus GetNameOwner org.kde.kded5  
:1.8

$ qdbus org.freedesktop.DBus /org/freedesktop/DBus ListQueuedOwners 
org.kde.kded5                
:1.8


-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic