Skip to content
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

Subtract title height and left border width (fixes #176) #273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

disorder
Copy link

xdotool needs to subtract decorations when reporting window position. Using these fixed values with windowmove will result placing window correctly at the current position.

Current users get value which is outright wrong (absolute position as reported by xwininfo plus decorations). Possible useful values to user are absolute position (drawable part of window) or window position (sans decorations) which is what this patch provides.

Either fix will slightly break existing users unless both are provided as option or new command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant