Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
screencast: fix SelectSources type bitmask check
In the same vein as aff78ae, `WINDOW` is the value and not the index in the bitmask. But additionally, as I understand it, a "non-monitor" source type would be one that lacks `MONITOR` rather than one that includes `WINDOW` (or `VIRTUAL`) at all. Technically this is a change in behavior since previously `WINDOW`-only source types were accepted but treated as `MONITOR` source types, and those will now be rejected (as only `VIRTUAL` source types were technically checked by mistake due to the bitmask value/index checking bug).
- Loading branch information