You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Read up on portal APIs to stay on top of modern FD.o APIs #142
changed the title [-]Read up on Backgrounding portal to stay on top of modern FD.o APIs[/-][+]Read up on portal APIs to stay on top of modern FD.o APIs[/+]on Dec 20, 2021
org.freedesktop.impl.portal.Background.GetAppState: for getting running applications status (if have at least one window open, if on background and if is on foreground)
*org.freedesktop.impl.portal.Background.RunningApplicationsChanged: that is emitted by the portal itself when there's a change on the running applications.
But I don't think they will be usefull since we can't get the number of windows open neither the title of them, only the app id.
However, there's the org.gnome.Shell.Introspect interface that is used to provide the Background portal in the Gtk Backend, and looks like the org.gnome.Shell.Introspect.GetWindows method give us sufficient information to implement the "running apps and windows" part of the dock.
Activity
[-]Read up on Backgrounding portal to stay on top of modern FD.o APIs[/-][+]Read up on portal APIs to stay on top of modern FD.o APIs[/+]Marukesu commentedon Dec 20, 2021
There is:
org.freedesktop.impl.portal.Background.GetAppState: for getting running applications status (if have at least one window open, if on background and if is on foreground)org.freedesktop.impl.portal.Background.RunningApplicationsChanged: that is emitted by the portal itself when there's a change on the running applications.But I don't think they will be usefull since we can't get the number of windows open neither the title of them, only the app id.
However, there's the
org.gnome.Shell.Introspectinterface that is used to provide the Background portal in the Gtk Backend, and looks like theorg.gnome.Shell.Introspect.GetWindowsmethod give us sufficient information to implement the "running apps and windows" part of the dock.