Gustash/Hyprshot

Canceling screenshot with escape clearing clipboard

Spiderfffun opened this issue · 2 comments

When pressing escape while the -m region gui is opened, it leaves the screenshot tool, but still copies a screenshot (which doesn't exist) to the clipboard, clearing it.

I looked into the code a little and it seems like all that has to be done is handling for this behaviour:

$ slurp -d
selection cancelled

It's problem only with --clipboard-only. I think save_geometry logic must be refactored

I'll try a bit later