@benreaves active window?
3 comments
@benreaves Wayland.social is not associated with the Wayland project by freedesktop.org; any double entendres are purely coincidental. Perhaps somebody who sees this can help you, though :) @compositor the better approach imho is to implement it in Wayland in a way that allows a more direct path to 3rd party apps if given the permission to do so by the user. Otherwise 3rd party app developers will have to write separate support for each & every DE a user might use. Macs have a privacy & security are for apps to be granted permissions for things like automation & file access. I don’t understand why we can’t do something similar. |
@compositor yes - getting the active window or class name is extremely trivial w/ X11 & apps &/or scripts written to help w/ all sorts of use cases & accessibility needs sometimes need that awareness.
I know the response has been for DEs to all individually re-implement this feature however they see fit - but that’s a lot of fragmentation & I’ve yet to see gnome really solidify how they’ll expose it long term.
https://unix.stackexchange.com/questions/703084/how-to-get-current-window-class-name-from-script
@compositor yes - getting the active window or class name is extremely trivial w/ X11 & apps &/or scripts written to help w/ all sorts of use cases & accessibility needs sometimes need that awareness.
I know the response has been for DEs to all individually re-implement this feature however they see fit - but that’s a lot of fragmentation & I’ve yet to see gnome really solidify how they’ll expose it long term.