]> Pileus Git - ~andy/gtk/commit
quartz: fix coordinates for synthesized event
authorKristian Rietveld <kris@lanedo.com>
Sun, 22 Apr 2012 15:11:38 +0000 (17:11 +0200)
committerKristian Rietveld <kris@lanedo.com>
Sun, 22 Apr 2012 15:38:52 +0000 (17:38 +0200)
commit89f166b54218ac3dc9b7b1584db9044d88f85966
tree9682ed5708c3b6885ed32996524298ffb4b88033
parent88ed04cc372cdda51071372cdd3177e70bc4aba0
quartz: fix coordinates for synthesized event

Of course, we must pass coordinates in the NSWindow coordinate system
when creating an NSEvent. This fixes drag icon positioning and makes
the icon slide back to the correct position when the drag is
canceled.
gtk/gtkdnd-quartz.c