Reset a hidden (or minimized) X11 window
I want to reset the contents of the X window. Like this:
xwd -id | convert - capture.png
... which works well enough as long as the target window is not hidden (completely or partially behind other windows) or minimized.
Any idea on how to do this?
I guess we'll somehow have to send a "recolor" signal to a hidden window and then capture its response or something ... :)
+1
source to share