Merge pull request #262 from computerquip/master
No need to subtract window position from translated coordinates
This commit is contained in:
commit
883d05007f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user