Cocoa: Don't send duplicate mouse move events.
We now use tracking regions to generate move events,
setAcceptsMouseMoveEvents will generate duplicates.
See also commit b077e67f.
Change-Id: I750e33766e66693ce899380c5cd9715baa9aa241
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
bb10
parent
21255d65ef
commit
8238acccf0
|
|
@ -754,7 +754,6 @@ void QCocoaWindow::setNSWindow(NSWindow *window)
|
|||
{
|
||||
m_nsWindowDelegate = [[QNSWindowDelegate alloc] initWithQCocoaWindow:this];
|
||||
[window setDelegate:m_nsWindowDelegate];
|
||||
[window setAcceptsMouseMovedEvents:YES];
|
||||
|
||||
// Prevent Cocoa from releasing the window on close. Qt
|
||||
// handles the close event asynchronously and we want to
|
||||
|
|
|
|||
Loading…
Reference in New Issue