326c3732b8
screenshot_window() currently assumes a focus window, which will result in a crash if that's not the case. https://bugzilla.gnome.org/show_bug.cgi?id=700625