From e7f32122bc482979ca6e1dcb07c2c1d4170b8331 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 24 Oct 2021 20:06:32 +0100 Subject: [PATCH] Fix something which was supposed to be there only for debug The wayland-specific code was accidentally executed even on X11 Fix #416 Ref #187 --- bin/shutter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/shutter b/bin/shutter index 3bd5bda1..a765f73a 100755 --- a/bin/shutter +++ b/bin/shutter @@ -5917,7 +5917,7 @@ sub STARTUP { undef, undef, $current_monitor_active->get_active ); - if ($ENV{XDG_SESSION_TYPE} eq "wayland" || 1) { + if ($ENV{XDG_SESSION_TYPE} eq "wayland") { # TODO: support kwin directly, because it has more features than the xdg portal $screenshot = Shutter::Screenshot::Wayland::xdg_portal($screenshooter); } else {