Track all windows corresponding to sources and ensure that we only disable XSelectInput events once all sources for a given window have been removed. Previously we may have stopped listening for events if multiple sources captured the same window and one was removed. We also move window redirection into the helper to avoid similar issues.
Linux XShm capture plugin This plugin uses the MIT-SHM extension for the X-server to capture the desktop. Todo: - handle resolution changes of screens - handle adding/removing screens while recording - support different depths Contributing: If you are interested in helping out with the plugin, please drop by in the #obs-dev channel on quakenet. References: - http://www.x.org/releases/current/doc/xextproto/shm.html