Devour does not work when I used a terminal embedded inside Suckless tabbed ( https://tools.suckless.org/tabbed/ ).
In that case the win variable was set to the terminal window instead of the tabbed window.
I added a simple check to detect this and select parent of win (tabbed).
Devour does not work when I used a terminal embedded inside Suckless tabbed ( https://tools.suckless.org/tabbed/ ). In that case the win variable was set to the terminal window instead of the tabbed window. I added a simple check to detect this and select parent of win (tabbed).