How to match a very short-lived window
Matlab 2015 has the unfortunate regression that it does not set the correct window manager hints on its dialogues.
I fixed most of the issues by matching on the window title and manually setting them to floating. However, some dialogues (progress messages) are not long-lived enough for me to run xprop
on them, so I can't find out how to match them with for_window
.
Is there a tool/command/method that allows me to get the properties of the next window that opens? (Instead of me having to click on the desired window).
As a quick solution you can use this script https://faq.i3wm.org/question/5721/how-do-i-subscribe-to-i3-events-using-bash-easily and run the following command: i3subscribe window dump | grep -e "^window:new" -e "'title'" -e "'class'" -e "'instance'" The section after window:new would be of interest.
I'd also file a bug against Matlab for this.