diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index d82d7a7a6..e6ead6127 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -1469,7 +1469,9 @@ var ScreenshotUI = GObject.registerClass({ } this._windowButton.reactive = - windows.length > 0 && !this._castButton.checked; + Main.sessionMode.hasWindows && + windows.length > 0 && + !this._castButton.checked; if (!this._windowButton.reactive) this._selectionButton.checked = true;