https://bugs.kde.org/show_bug.cgi?id=362531

Martin Gräßlin <mgraess...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |http://commits.kde.org/kwin
                   |                            |dowsystem/4d355569eea2fae76
                   |                            |ed67f791db8abeec1e794f0
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #40 from Martin Gräßlin <mgraess...@kde.org> ---
Git commit 4d355569eea2fae76ed67f791db8abeec1e794f0 by Martin Gräßlin.
Committed on 03/08/2016 at 09:34.
Pushed by graesslin into branch 'master'.

[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.
REVIEW: 128576

M  +1    -0    autotests/CMakeLists.txt
A  +53   -0    autotests/compositingenabled_test.cpp     [License: LGPL
(v2.1+)]
M  +4    -0    src/platforms/xcb/kwindowsystem.cpp

http://commits.kde.org/kwindowsystem/4d355569eea2fae76ed67f791db8abeec1e794f0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to