mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
Small fixes for mouse positioning. Clean-up for win32 CD reader code.
This commit is contained in:
parent
c3b257a088
commit
7b955dd6c3
12 changed files with 696 additions and 1127 deletions
|
|
@ -1432,7 +1432,7 @@ public:
|
|||
void handleMotionNotifyEvent (const XPointerMovedEvent* const movedEvent)
|
||||
{
|
||||
updateKeyModifiers (movedEvent->state);
|
||||
const Point<int> mousePos (Desktop::getMousePosition());
|
||||
const Point<int> mousePos (movedEvent->x_root, movedEvent->y_root);
|
||||
|
||||
if (lastMousePos != mousePos)
|
||||
{
|
||||
|
|
@ -2806,7 +2806,7 @@ bool Desktop::canUseSemiTransparentWindows() throw()
|
|||
&& (matchedDepth == desiredDepth);
|
||||
}
|
||||
|
||||
const Point<int> Desktop::getMousePosition()
|
||||
const Point<int> Desktop::getRawMousePosition()
|
||||
{
|
||||
Window root, child;
|
||||
int x, y, winx, winy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue