Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor grabclipboard() for x11 and wayland
Simpified logic and made it more robust against edge cases ( see the `allowed_errors` list ). Doing error checking this way, makes the behaviour of this function for x11 and wayland platforms more silimar to darwin and windows systems. fix typo src/PIL/ImageGrab.py Co-authored-by: Ondrej Baranovič <[email protected]> fix typo src/PIL/ImageGrab.py Co-authored-by: Andrew Murray <[email protected]> ImageGrab: \added debian edge case to comment
- Loading branch information