[xcb] Ensure the compositingChanged signal is emitted if NETEventFilter is recreated
The Xcb implementation of KWindowSystem has two operations modes and when switching between the two it recreates the NETEventFilter. This could result in the compositingChanged signal never to be emitted if: 1) NETEventFilter gets created before compositor is started 2) NETEventFilter gets recreated after compositor is started but before the old filter had a chance to process the XFixes event This was the cause for e.g. plasmashell not properly detecting that a Compositor is running on X11. This change ensures that the signal is emitted if the compositing state differs after the recreation. Also a test case is added which simulates the condition. BUG: 362531 REVIEW: 128576
parent
67b95225
Please register or sign in to comment