ladybird/Libraries/LibCore
Andreas Kling 72d68b4025 LibCore: Fix broken "stay_within" mechanism in event dispatch
The "stay_within" parameter to CObject::dispatch_event() optionally
specifies a node in the CObject parent chain where event dispatch
should stop bubbling upwards.

Since event dispatch is done recursively, this was not working right,
as we would simply return from the innermost dispatch loop, leaving
the event un-accepted, which meant that the penultimately inner
dispatch loop would pick up the event and keep bubbling it anyway.

This made it possible for events to jump across window boundaries
within an application, in cases where one window was a CObject ancestor
of another window. This is typically the case with dialog windows.

Fix #1078.
2020-01-21 21:55:25 +01:00
..
CArgsParser.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CArgsParser.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CConfigFile.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CConfigFile.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CDirIterator.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CDirIterator.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CElapsedTimer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CElapsedTimer.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CEvent.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CEvent.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CEventLoop.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CEventLoop.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CFile.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CFile.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CGzip.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CGzip.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CHttpJob.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CHttpJob.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CHttpRequest.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CHttpRequest.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CHttpResponse.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CHttpResponse.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CIODevice.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CIODevice.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CIODeviceStreamReader.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CLocalServer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CLocalServer.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CLocalSocket.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CLocalSocket.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CNetworkJob.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CNetworkJob.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CNetworkResponse.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CNetworkResponse.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CNotifier.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CNotifier.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CObject.cpp LibCore: Fix broken "stay_within" mechanism in event dispatch 2020-01-21 21:55:25 +01:00
CObject.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CProcessStatisticsReader.cpp SystemMonitor: Show process unveil() state as "Veil" 2020-01-21 18:56:23 +01:00
CProcessStatisticsReader.h SystemMonitor: Show process unveil() state as "Veil" 2020-01-21 18:56:23 +01:00
CSocket.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CSocket.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CSocketAddress.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CSyscallUtils.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CTCPServer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CTCPServer.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CTCPSocket.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CTCPSocket.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CTimer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CTimer.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CUserInfo.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CUserInfo.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Makefile LibCore: compile puff.c as a separate object 2019-12-25 10:11:09 +01:00
puff.c LibCore: Move puff() from LibDraw to LibCore 2019-11-23 23:43:37 +01:00
puff.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00