On 23 June 2014 10:35, Peter Maydell <peter.mayd...@linaro.org> wrote: > This set of cocoa UI patches: > * fixes the completely broken handling of absolute positioning > (tablet-style) input devices > * fixes a bug where if the first surface created was the same 640x480 > as the initial window we'd never actually draw it > * implements support for the -show-cursor command line option > > The GTK and SDL UI frontends don't seem to be consistent about how they > handle mousegrab for absolute-position devices; I followed SDL on the > basis that it was the older and more established UI. (GTK doesn't > implement -show-cursor at all, incidentally.) > > Peter Maydell (4): > ui/cocoa: Cope with first surface being same as initial window size > ui/cocoa: Add utility method to check if point is within window > ui/cocoa: Fix handling of absolute positioning devices > ui/cocoa: Honour -show-cursor command line option > > ui/cocoa.m | 108 > ++++++++++++++++++++++++++++++++++++++++++------------------- > 1 file changed, 75 insertions(+), 33 deletions(-)
Git branch here if you wish to test: git://git.linaro.org/people/pmaydell/qemu-arm.git cocoa-abs thanks -- PMM