Update wl-paste handling and return None for some errors in grabclipboard() on Linux by nik012003 · Pull Request #7745 · python-pillow/Pillow
radarhere
changed the title
Refactor grabclipboard() for x11 and wayland
Refactor grabclipboard() for Linux
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č <nulano@nulano.eu> fix typo src/PIL/ImageGrab.py Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> ImageGrab: \added debian edge case to comment
radarhere
changed the title
Refactor grabclipboard() for Linux
Update wl-paste handling and return None for some errors in grabclipboard() on Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters