On Sunday, May 5, 2019 at 5:46:41 AM UTC-7, tombert wrote:
>
> I need this for xwininfo -id <id> to query the iconified state since this is the other thing that is not working ...
Have you considered using -name instead of -id,
xwininfo -name <title>
you can set the title in tk with
wm title . hello
and then, after minimizing the window,
$ xwininfo -name hello -wm
xwininfo: Window id: 0x240000a "hello"
Window manager hints:
Client accepts input or input focus: Yes
Initial state is Normal State
Displayed on desktop 0
Window state:
Hidden
Process id: (unknown)
Frame extents: 0, 0, 37, 0
This is from my pop os variant of ubuntu, with gnome.