Skip to content

Commit

Permalink
Window location is now accurate. (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
E-Heerschap authored Aug 8, 2020
1 parent 42bc043 commit d969274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdo.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ int xdo_get_window_location(const xdo_t *xdo, Window wid,
y = attr.y;
} else {
XTranslateCoordinates(xdo->xdpy, wid, attr.root,
attr.x, attr.y, &x, &y, &unused_child);
0, 0, &x, &y, &unused_child);
}

if (x_ret != NULL) {
Expand Down

0 comments on commit d969274

Please sign in to comment.