[directfb] Remove grabbing of the pointer on input
This should not be done on the input level but we should handle the requests on the QWindow to grab/ungrab the pointer Change-Id: Ibc61b300bf8de20f576fb8972fadf18de4a142c1 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
This commit is contained in:
parent
c8746d886f
commit
960502d91a
@ -140,11 +140,6 @@ void QDirectFbInput::handleMouseEvents(const DFBEvent &event)
|
||||
|
||||
long timestamp = (event.window.timestamp.tv_sec*1000) + (event.window.timestamp.tv_usec/1000);
|
||||
|
||||
if (event.window.type == DWET_BUTTONDOWN) {
|
||||
window->GrabPointer(window.data());
|
||||
} else if (event.window.type == DWET_BUTTONUP) {
|
||||
window->UngrabPointer(window.data());
|
||||
}
|
||||
QWindow *tlw = m_tlwMap.value(event.window.window_id);
|
||||
QWindowSystemInterface::handleMouseEvent(tlw, timestamp, p, globalPos, buttons);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user