Merge with develop

--HG--
branch : compatibility-develop
hg/compatibility-develop
Nimetu 9 years ago
commit 5c6e2109c4

@ -2623,6 +2623,10 @@ namespace NLGUI
// If the mouse is over a window, always consider the event is taken (avoid click behind)
handled|= isMouseOverWindow();
// If mouse click was not on interface and we have keyboard captured, then release keyboard
if (!handled && getCaptureKeyboard() != NULL && eventDesc.getEventTypeExtended() != CEventDescriptorMouse::mousemove)
CWidgetManager::getInstance()->setCaptureKeyboard(NULL);
}
return handled;

Loading…
Cancel
Save