shutter-project / shutter

Screenshot tool for Linux
https://shutter-project.org/
GNU General Public License v3.0
520 stars 34 forks source link

Check if we are on X11 before using Wnck #611

Closed Photon89 closed 8 months ago

Photon89 commented 1 year ago

For some reason Shutter segfaults on Wayland due to the Wnck calls. If we first check whether we are on Wayland, then only fire Wnck calls on X11, there are no more segfaults.

Photon89 commented 1 year ago

I propose to merge this and release a new version soon, I assume that Shutter might crash for all Wayland users after some (Perl?) update, already happening in Arch/Manjaro.

Photon89 commented 1 year ago

Ready to merge unless there are further issues!