Skip to content
Snippets Groups Projects
Commit 0f228e6e authored by Zachary Lund's avatar Zachary Lund
Browse files

No need to subtract window position from translated coordinates

parent 66e86741
No related branches found
No related tags found
No related merge requests found
......@@ -306,7 +306,7 @@ void XCompcapMain::updateSettings(obs_data_t settings)
XTranslateCoordinates(xdisp, p->win, attr.root, 0, 0, &x, &y,
&child);
xcursor_offset(p->cursor, x - attr.x, y - attr.y);
xcursor_offset(p->cursor, x, y);
}
gs_color_format cf = GS_RGBA;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment