]> Git Repo - qemu.git/commit
ui/cocoa: Add utility method to check if point is within window
authorPeter Maydell <[email protected]>
Mon, 23 Jun 2014 09:35:23 +0000 (10:35 +0100)
committerPeter Maydell <[email protected]>
Sun, 29 Jun 2014 21:00:33 +0000 (22:00 +0100)
commit5dd45bee5816ef1e941fdf1122943e4ab345f388
tree8e6e00f3cd8b12186c5db4efe4a58b577f6d5d60
parent381600dad956ba246f8cb9806e70423f4121bae3
ui/cocoa: Add utility method to check if point is within window

Add a utility method to check whether a point is within the current window
bounds, and use it in the various places in the mouse handling code that
were opencoding the check.

Signed-off-by: Peter Maydell <[email protected]>
Message-id: 1403516125[email protected]
ui/cocoa.m
This page took 0.025742 seconds and 4 git commands to generate.