kwin/effects/slide
Martin Gräßlin d4201d90a8 [kwin] Disconnect lambda connection on destroy of slide effect
Lambda connections are tricky: they do not get automatically
disconnected when the captured [this] gets destroyed, but they get
disconnected when the sender object gets destroyed.

Thus the slide effect was crashing if it got disabled and a window
got deleted, because the connection was still present and tried to
access the destroyed this pointer.

To circumvent we need to pass this as context object.

REVIEW: 116712
2014-03-12 16:31:52 +01:00
..
CMakeLists.txt
slide.cpp [kwin] Disconnect lambda connection on destroy of slide effect 2014-03-12 16:31:52 +01:00
slide.desktop [kwin] Introduce a X-KWin-Exclusive-Category in kwineffects service 2014-03-12 07:34:50 +01:00
slide.h