pub fn get_windows() -> Vec<Window>Expand description
Get windows managed by the window manager
This function is the equivalent of wmctrl -l -G.
You should never fetch a second Vec<Window> while the first one is still in use!
This will lead to inconsistencies between the two Vectors and most likely to incorrect behavior of your code.
It is advised to get a Vec<Window> once at the beginning of the program and operate on it.