Commit graph

17 commits

Author SHA1 Message Date
Martin Gräßlin
b5377e5834 Sliding Popups effect can read the fade in and out duration from the property.
Added for the usecase of Yakuake.

svn path=/trunk/KDE/kdebase/workspace/; revision=1160205
2010-08-07 11:41:01 +00:00
Martin Gräßlin
6ad3754de0 Remove the last full repaints in sliding popups effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=1159175
2010-08-04 16:34:47 +00:00
Martin Gräßlin
6e31461039 Adding a new rendering flag for painting the screen with transformed windows but without triggering full repaints.
It is not always required to do a full repaint in each frame. E.g. in sliding popups the repaint areas are known and tracked.
This change reduces the painting overhead to just the window area.
Nevertheless I consider this change as experimental and will revert the commit in case it introduces rendering glitches.
Other effects which are good candidates for this flag is wobbly windows, magic lamp, minimize or in general all effects which transform just one window.

svn path=/trunk/KDE/kdebase/workspace/; revision=1158838
2010-08-03 21:33:27 +00:00
Lucas Murray
51168e97a4 Keep the logout effect active until KWin is killed or the user cancels
the logout by using new information provided by KSMServer; Allow effects
to read and detect root window property notify events.

svn path=/trunk/KDE/kdebase/workspace/; revision=1083335
2010-02-01 07:44:27 +00:00
Martin Gräßlin
8cefa7e493 Do a full repaint at end of sliding popups animation and when a window gets deleted to remove artefacts.
As the effect is doing full repaints all the time due to PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS this one extra repaint doesn't matter.
BUG: 215400

svn path=/trunk/KDE/kdebase/workspace/; revision=1080634
2010-01-26 15:57:40 +00:00
Lucas Murray
df2b3170cb Fix conflicts with sliding popups, fade, fall apart, scale in and
explosion by using EffectWindow::data() instead of proxies.
BUG: 222168

svn path=/trunk/KDE/kdebase/workspace/; revision=1072837
2010-01-11 04:52:19 +00:00
Lucas Murray
0b37a8a9c2 Only apply the sliding popups desktop effect to deleted windows that
it's supposed to instead of all of them.

svn path=/trunk/KDE/kdebase/workspace/; revision=1066145
2009-12-26 02:44:34 +00:00
Lucas Murray
c221426b5e Don't access a variable that may not exist.
svn path=/trunk/KDE/kdebase/workspace/; revision=1037434
2009-10-19 05:04:35 +00:00
Lucas Murray
cd9ab34fec Maybe the sliding popups effect was unreferencing the same window
multiple times?
CCBUG: 209723

svn path=/trunk/KDE/kdebase/workspace/; revision=1037432
2009-10-19 05:00:11 +00:00
Lucas Murray
9f05419d06 Unreference window after the window has been rendered.
CCBUG: 209723

svn path=/trunk/KDE/kdebase/workspace/; revision=1036021
2009-10-16 10:20:43 +00:00
Lucas Murray
53986fa859 Prevent window flash that sometimes occurs when a sliding popup window
is closed. Keeps the window transformed even in the last painting pass.

svn path=/trunk/KDE/kdebase/workspace/; revision=1030717
2009-10-03 06:40:10 +00:00
Marco Martin
e35a07a08d reove the window from the ignored list of the fade effect if the sliding
effect gets removed

svn path=/trunk/KDE/kdebase/workspace/; revision=1021482
2009-09-09 10:05:52 +00:00
Marco Martin
f6bf95cb44 add a proxy effect to the fade effect, used to add and remove ignored
windows.
the slidingpopups effect adds its managed windows to the ignored list of
the fadeeffect, making them mutually exclusive

svn path=/trunk/KDE/kdebase/workspace/; revision=1021321
2009-09-08 20:42:45 +00:00
Marco Martin
a9a2108182 make it execute after fade and force opacity=1
svn path=/trunk/KDE/kdebase/workspace/; revision=1018158
2009-09-01 11:34:52 +00:00
Marco Martin
5b61e0909c sync with the fade popup, looks less weird
svn path=/trunk/KDE/kdebase/workspace/; revision=1017403
2009-08-30 15:15:52 +00:00
Marco Martin
ffa58ea60d enable the animation also when the fade effect is disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1002996
2009-07-27 13:27:16 +00:00
Marco Martin
99e23ca6f7 a new effect: windows with the atom _KDE_SLIDE set on them (composed by
a number identifying north/south/west/east and a screen coord) will
appear with a slide animation.
used for popups that come out of panels

svn path=/trunk/KDE/kdebase/workspace/; revision=1001604
2009-07-23 19:06:50 +00:00