Skip to content

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

Open
disorder wants to merge 1 commit intojordansissel:masterfrom
disorder:fix/geometry
Open

Subtract title height and left border width (fixes #176)#273
disorder wants to merge 1 commit intojordansissel:masterfrom
disorder:fix/geometry

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