mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Handle GUI event only once
--HG-- branch : develop
This commit is contained in:
parent
cb022c6bbb
commit
6551881171
1 changed files with 3 additions and 1 deletions
|
@ -2313,7 +2313,9 @@ namespace NLGUI
|
|||
getCapturePointerLeft() != getCapturePointerRight() )
|
||||
handled|= getCapturePointerRight()->handleEvent(evnt);
|
||||
|
||||
if( _CapturedView != NULL )
|
||||
if( _CapturedView != NULL &&
|
||||
_CapturedView != getCapturePointerLeft() &&
|
||||
_CapturedView != getCapturePointerRight() )
|
||||
_CapturedView->handleEvent( evnt );
|
||||
|
||||
CInterfaceGroup *ptr = getWindowUnder (eventDesc.getX(), eventDesc.getY());
|
||||
|
|
Loading…
Reference in a new issue