Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On X11, simplify available_monitors() impl
This code confused me. I tried to understand it. I tried to simplify it while keeping the functional style. But in the end, this just seems too complicated for its own good. Just doing the exact same thing with a match statement and the question mark operator makes it sooo much more obvious what is happening. Signed-off-by: Uli Schlachter <[email protected]>
- Loading branch information