Callback for Connection::watch_paths — fires whenever the open-paths snapshot changes (path opens/closes/selection changes).
Connection::watch_paths