~leon_plickat/public-inbox

Showing state events in lswt watch mode?

Kristopher Finkenbinder <redbear@redbearnet.com>
Details
Message ID
<b5c9425d-5d2e-4fbd-9110-b5409c797866@app.fastmail.com>
DKIM signature
pass
Download raw message
I'm trying to get some support for wlroots compositors into a keymapper that does app-specific modmapping/keymapping. Someone pointed me at your lswt repo, and I looked at the "watch" output and see that it shows useful things like created/destroyed, app_id and title changes. 

But what I really need is the state events, to go along with app_id and title events for each window. In short, I need the info that would allow me to identify the app_id and title of the currently "active" window, if that's actually possible with the foreign toplevel protocol, and maintain updated knowledge about that. 

Any chance that might be possible? I do see some references to state in the code, but in the JSON output it appears to indicate that things like "activated" with the wlr protocol are not "supported". 

If this info were available in the watch mode this would potentially be a very useful tool for me. I tried to use `pywayland` for this protocol but ran into a problem and couldn't get it working.
Reply to thread Export thread (mbox)