Git commit 41c77675e6bb0bbb4b50c121f8c81799fa2e411b by Martin Gräßlin.
Committed on 24/01/2014 at 11:34.
Pushed by graesslin into branch '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

M  +3    -0    kwin/atoms.cpp
M  +1    -0    kwin/atoms.h
M  +2    -0    kwin/events.cpp
M  +1    -0    kwin/libkwineffects/kwineffects.cpp
M  +12   -0    kwin/libkwineffects/kwineffects.h
M  +1    -0    kwin/manage.cpp
M  +4    -0    kwin/scene.cpp
M  +30   -0    kwin/toplevel.cpp
M  +12   -0    kwin/toplevel.h
M  +1    -0    kwin/unmanaged.cpp

http://commits.kde.org/kde-
workspace/41c77675e6bb0bbb4b50c121f8c81799fa2e411b

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to ksnapshot in Ubuntu.
https://bugs.launchpad.net/bugs/1252235

Title:
  Ksnapshot captures its window if "Snapshot delay" is "No delay" and
  window hide effect is enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdegraphics/+bug/1252235/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to