Revision 41c7767...

Go back to digest for 26th January 2014

Bug Fixes in KDE Base

Martin Gräßlin committed changes in [kde-workspace/KDE/4.11] /:

Allow windows to specify that they should not get animated on window close

By setting the X property _KDE_NET_WM_SKIP_CLOSE_ANIMATION to 1 a window
can request to be excluded from any close animation. This property is
read in Toplevel, so that it is available to both Client and Unmanaged.

If the window has this property set the Scene suppresses the paintWindow
loop of the Deleted. Thus no effect needs to be adjusted. But an effect
using drawWindow directly would still be able to render the Deleted as
there is no suppression.

Furthermore the property is passed to the EffectWindow so that an
Effect can make use of this functionality and not start the animation
in the first place.

REVIEW: 115288


Backported from 9497b4ddb681ac50dbe9c015e05a3f12fd496da8

File Changes

Modified 10 files
  •   kwin/atoms.cpp
  •   kwin/atoms.h
  •   kwin/events.cpp
  •   kwin/manage.cpp
  •   kwin/scene.cpp
  •   kwin/toplevel.cpp
  •   kwin/toplevel.h
  •   kwin/unmanaged.cpp
  •   kwin/libkwineffects/kwineffects.cpp
  •   kwin/libkwineffects/kwineffects.h
10 files changed in total