-
-
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
Taking a screenshot of a window crops out the title bar and borders on Cinnamon #20
Comments
Cinnamon uses a reparenting window manager. This means the frame is a separate, parent window of the actual window. If you want to capture the decorations with the contents, you need to pass shotgun the id of the parent window. |
Thanks, I didn't know that! Unfortunately it seems like |
@areographe It might be worth trying hacksaw to get the window ID, as it has a flag to remove some number of nested window manager frames |
Yeah I suspect this is the window manager reserving some space for a drop shadow. Maybe fixing #4 would help here. |
Good thinking, I've now given this a go. |
The window manager sets special properties on the frame window to tell other programs about this, but currently both shotgun and hacksaw ignore it. |
Hey, this might be a dumb question, but what am I doing wrong here? If I run
shotgun -i $(xdotool getactivewindow)
I get a screenshot without the title bar and borders of the window. Is there a flag I am missing somewhere to include these in the screenshot? Thanks
The text was updated successfully, but these errors were encountered: