-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New release prevents taking screenshots larger than screen size #41
Comments
So this is expected to work, but the geometry string you're passing is invalid. As for the error with the old version, I have no idea why that's happening. I would need to know exactly what's being passed to XGetImage and a few other things, but considering we've moved on from xlib, let's focus on fixing regressions. |
Apparently hacksaw will emit `+-` for negative coordinates, and the xlib geometry parser subtly accepted those. Fixes: #41
Yes, seems to work fine now :) Thanks |
Thanks for reporting and testing! In general though, please don't close issues before the fix is merged. |
In the previous release, if you had a window larger than your screen, you could still take a screenshot of the entire window. This is no longer possible:
Note that using the OLD release of shotgun in an interactive shell also does NOT work:
While it does in a file. I don't know why. Tested in zsh, bash, and dash.
This feature might seem almost useless, but I do use it from time to time for things like taking screenshots of MPV or feh when I want to share a large image quickly, or capturing GUI programs with window size dependent behavior, like how spek (audio spectrum analyzer) only increases resolution with window size.
The text was updated successfully, but these errors were encountered: