[AT-SPI] Emit fewer BoundsChanged events for Window 79/303579/2
authorArtur Świgoń <a.swigon@samsung.com>
Tue, 2 Jan 2024 09:57:57 +0000 (10:57 +0100)
committerArtur Świgoń <a.swigon@samsung.com>
Tue, 2 Jan 2024 10:03:03 +0000 (11:03 +0100)
commit0f54ce22bb81adbcb55c4b2e07f546d80d8c8e22
tree8b0125f2ba3339a27b968cf42e13c91f72a13d61
parente5c59fc6c4f10dec5711931db14287bd2491118b
[AT-SPI] Emit fewer BoundsChanged events for Window

1. Check whether the window geometry has really changed before emitting events.

2. Also check Accessibility::IsUp() beforehand. This condition is also checked
internally by EmitBoundsChanged(), but too much of the Accessibility D-Bus
infrastructure will have to be initialized before reaching that point in the
code, and this initialization is not always needed, e.g. during early
application initialization.

Change-Id: I9c3898812380a4d98a0adcbe56445e6af31bf465
dali/internal/window-system/common/window-impl.cpp