Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added exception handling for
Xlib.error.BadWindow
(#97)
Implemented a try/except block to catch the `Xlib.error.BadWindow` error during window name and class fetching. This change prevents the appearance of unnecessary messages in the logs, which although they do not affect the performance or operation of the watcher, they generate noise and do not provide relevant information about the error. With this enhancement, in case this error is detected, the window name or class will be set to "unknown", allowing the process to continue without interruption
- Loading branch information