Almamu / linux-wallpaperengine

Wallpaper Engine backgrounds for Linux!
GNU General Public License v3.0
1.59k stars 61 forks source link

Fix crash when 2+ screens are connected, but not all are active when running in X11 mode. #172

Closed nphantasm closed 11 months ago

nphantasm commented 1 year ago

When not all connected screens are active XRRGetCrtcInfo returns NULL for the inactive screens resulting in a SIGSEGV when trying to push it to the screens vector.

TODO:

Almamu commented 1 year ago

Looks good to me, I'll do a quick test this afternoon (currently 1000am) and merge it. Sorry for the delay, and thanks for the contribution!!