mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 02:50:53 +00:00
Handle GUI event only once
This commit is contained in:
parent
f6a5adb597
commit
3158f6d90e
1 changed files with 3 additions and 1 deletions
|
@ -2313,7 +2313,9 @@ namespace NLGUI
|
||||||
getCapturePointerLeft() != getCapturePointerRight() )
|
getCapturePointerLeft() != getCapturePointerRight() )
|
||||||
handled|= getCapturePointerRight()->handleEvent(evnt);
|
handled|= getCapturePointerRight()->handleEvent(evnt);
|
||||||
|
|
||||||
if( _CapturedView != NULL )
|
if( _CapturedView != NULL &&
|
||||||
|
_CapturedView != getCapturePointerLeft() &&
|
||||||
|
_CapturedView != getCapturePointerRight() )
|
||||||
_CapturedView->handleEvent( evnt );
|
_CapturedView->handleEvent( evnt );
|
||||||
|
|
||||||
CInterfaceGroup *ptr = getWindowUnder (eventDesc.getX(), eventDesc.getY());
|
CInterfaceGroup *ptr = getWindowUnder (eventDesc.getX(), eventDesc.getY());
|
||||||
|
|
Loading…
Reference in a new issue