diff --git a/src/ScreenshotManager.vala b/src/ScreenshotManager.vala index ea5d41afc..0ffe44cc0 100644 --- a/src/ScreenshotManager.vala +++ b/src/ScreenshotManager.vala @@ -155,7 +155,7 @@ namespace Gala { var rect = window.get_frame_rect (); #if HAS_MUTTER45 if (!include_frame) { -#if else +#else if ((include_frame && window.is_client_decorated ()) || (!include_frame && !window.is_client_decorated ())) { #endif