Commit 41a84e31 authored by Carlos Garnacho's avatar Carlos Garnacho

media-keys: Let the screenshot service save to clipboard itself

This is both broken currently on wayland (since this daemon doesn't
request the x11 backend, and wayland clients need a proper surface/serial
to request clipboard), and conceptually wrong (we wouldn't like to
enable the X11 backend just to let it save to clipboard).

Let gnome-shell handle saving the screenshot to clipboard instead, this
also saves us from saving to /tmp just to copy it to the clipboard
afterwards. We achieve this by passing an empty string as the filename.

Related: mutter#789
         gnome-shell!810
parent 2535cde9
Pipeline #129428 passed with stages
in 3 minutes and 48 seconds