(svn r11501) -Fix: [OSX] This remedies a problem with right click scrolling that was introduced in r11492.

This commit is contained in:
egladil 2007-11-23 13:45:59 +00:00
parent 536be43411
commit 2e0dd78ccf
2 changed files with 3 additions and 2 deletions

View File

@ -690,9 +690,10 @@ CGPoint WindowQuartzSubdriver::PrivateLocalToCG(NSPoint* p)
{
CGPoint cgp;
p->y = window_height - p->y;
*p = [ qzview convertPoint:*p toView: nil ];
*p = [ window convertBaseToScreen:*p ];
p->y = window_height - p->y;
p->y = device_height - p->y;
cgp.x = p->x;
cgp.y = p->y;

View File

@ -717,7 +717,7 @@ CGPoint WindowQuickdrawSubdriver::PrivateLocalToCG(NSPoint* p)
*p = [ qdview convertPoint:*p toView: nil ];
*p = [ window convertBaseToScreen:*p ];
p->y = window_height - p->y;
p->y = device_height - p->y;
cgp.x = p->x;
cgp.y = p->y;