Fixed double locking of mutex.
This commit is contained in:
parent
1d17f865ea
commit
a7bafcca2f
|
@ -561,7 +561,8 @@ CXWindowsScreen::getCursorPos(SInt32& x, SInt32& y) const
|
||||||
y = my;
|
y = my;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
getCursorCenter(x, y);
|
x = m_x + (m_w >> 1);
|
||||||
|
y = m_y + (m_h >> 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue