(svn r11501) -Fix: [OSX] This remedies a problem with right click scrolling that was introduced in r11492.
This commit is contained in:
@@ -690,9 +690,10 @@ CGPoint WindowQuartzSubdriver::PrivateLocalToCG(NSPoint* p)
|
|||||||
{
|
{
|
||||||
CGPoint cgp;
|
CGPoint cgp;
|
||||||
|
|
||||||
|
p->y = window_height - p->y;
|
||||||
*p = [ qzview convertPoint:*p toView: nil ];
|
*p = [ qzview convertPoint:*p toView: nil ];
|
||||||
*p = [ window convertBaseToScreen:*p ];
|
*p = [ window convertBaseToScreen:*p ];
|
||||||
p->y = window_height - p->y;
|
p->y = device_height - p->y;
|
||||||
|
|
||||||
cgp.x = p->x;
|
cgp.x = p->x;
|
||||||
cgp.y = p->y;
|
cgp.y = p->y;
|
||||||
|
@@ -717,7 +717,7 @@ CGPoint WindowQuickdrawSubdriver::PrivateLocalToCG(NSPoint* p)
|
|||||||
|
|
||||||
*p = [ qdview convertPoint:*p toView: nil ];
|
*p = [ qdview convertPoint:*p toView: nil ];
|
||||||
*p = [ window convertBaseToScreen:*p ];
|
*p = [ window convertBaseToScreen:*p ];
|
||||||
p->y = window_height - p->y;
|
p->y = device_height - p->y;
|
||||||
|
|
||||||
cgp.x = p->x;
|
cgp.x = p->x;
|
||||||
cgp.y = p->y;
|
cgp.y = p->y;
|
||||||
|
Reference in New Issue
Block a user