wininfo-0.5 Watching a window that is being minimized, or during map/unmap (try switching desktops), can cause wininfo to die with a BadWindow error. This is because we may be querying a tree that contains an invalid node. The fix is to trap BadWindow errors, and back out to wait for the next time our timer hits. Since this can put the tree in a bad state, we should probably reset all of the GUI to be blank. While this may cause a flash, at least we won't show misleading information.
Created attachment 410 [details] [review] Patch to wininfo Catches the BadWindow error using gdk_error_trap_push and gdk_error_trap_pop. It doesn't do anything with the error; just throws it away and waits for the next loop.
Applied in HEAD for 0.6, thanks for your contribution.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.