Adds a check to init() to verify the zwlr_screencopy_manager exists before using it to avoid a vague 'Segmentation Fault' (like seen in #51) when used on a system that does not implement the wlr_screencopy_unstable_v1 protocol.
As I'm one of the people who experienced the Seg Fault on KDE, I set up Hyprland on my laptop to make sure this didn't break functionality on the intended platform.
Adds a check to
init()
to verify thezwlr_screencopy_manager
exists before using it to avoid a vague 'Segmentation Fault' (like seen in #51) when used on a system that does not implement thewlr_screencopy_unstable_v1
protocol.As I'm one of the people who experienced the Seg Fault on KDE, I set up Hyprland on my laptop to make sure this didn't break functionality on the intended platform.