Commit graph

15 commits

Author SHA1 Message Date
Luboš Luňák
1d2c54edcc Support for proper effect reconfiguration instead of reloading them.
Fixes e.g. the global animation combo not taking effect.


svn path=/trunk/KDE/kdebase/workspace/; revision=866903
2008-10-02 09:27:32 +00:00
Martin Gräßlin
14b2e97700 Ensure that full screen input window is always destroyed when using alt+tab again while flip switch closes. So mouse cursor is shown again.
svn path=/trunk/KDE/kdebase/workspace/; revision=864231
2008-09-24 09:04:45 +00:00
Luboš Luňák
2a87593638 Add a global configuration option for animation speed. See description
of Effect::animationTime() for how-to-use.
TODO: Effects need to reload config after doing the change in the kcm.
NOTE: Default TimeLine constructor now creates invalid object, it is
necessary to explicitly call setDuration() in order to ensure all
animations respect this setting.

CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=854690
2008-08-30 07:25:54 +00:00
Martin Gräßlin
f9f50b5863 Multiply opacity values, do not set them directly. This prevented the windows to be displayed it the opacity value had been set manually.
BUG: 165876

svn path=/trunk/KDE/kdebase/workspace/; revision=829023
2008-07-07 09:28:06 +00:00
Martin Gräßlin
281ccd2206 Makes the animation working again. I have no idea why the animation was broken.
svn path=/trunk/KDE/kdebase/workspace/; revision=826359
2008-06-30 15:09:07 +00:00
Martin Gräßlin
50d9cd1be0 Do not display the mouse cursor in fancy window switchers.
BUG: 165296

svn path=/trunk/KDE/kdebase/workspace/; revision=826357
2008-06-30 14:58:38 +00:00
Martin Gräßlin
1904a170e4 Fix memory lead and add missing glDisable.
svn path=/trunk/KDE/kdebase/workspace/; revision=810633
2008-05-21 07:49:19 +00:00
Martin Gräßlin
ce394a7d6d Bring some changes from coverswitch to flipswitch (we should have a superclass for those two effects):
* Physic based animation via TimeLine
 * Default animation 200 msec
 * Fade in and out panel and window caption box during start/stop animation
 * Switch to stop animation if alt+tab is released during start animation
 * TwinView/Xinerama support

BUG: 159111

svn path=/trunk/KDE/kdebase/workspace/; revision=802160
2008-04-28 17:51:52 +00:00
Luboš Luňák
3cf3c180c6 Avoid warning.
svn path=/trunk/KDE/kdebase/workspace/; revision=786354
2008-03-16 20:49:11 +00:00
Martin Gräßlin
a4b360b1ee Cumulative patch for cover- and flipswitch
* removing GL_DEPTH_TEST (should work with ATI, now)
* changing to generic time measurement for animation
* effects are fullscreen effects
* fix wrong region for painting the windows (infiniteRegion)
Bug: 158847

svn path=/trunk/KDE/kdebase/workspace/; revision=783766
2008-03-09 14:42:20 +00:00
Rivo Laks
de09d00e33 Don't try to antialias by enabling GL_POLYGON_SMOOTH, it's slow, especially
on Intel cards

svn path=/trunk/KDE/kdebase/workspace/; revision=783284
2008-03-07 16:56:16 +00:00
Luboš Luňák
cff2b0e6cd Abstract paint clipping into PaintClipper helper class that allows
stacking of clipping regions.
(http://lists.kde.org/?l=kwin&m=120138051215450&w=2)
BUG: 156798


svn path=/trunk/KDE/kdebase/workspace/; revision=779045
2008-02-25 11:32:21 +00:00
Martin Gräßlin
88fac4ee64 Disable animation if there is only one window.
BUG: 157292

svn path=/trunk/KDE/kdebase/workspace/; revision=771972
2008-02-07 11:21:41 +00:00
Martin Gräßlin
673aa39462 Animation cycles only one time over the stack to go to the next selected window, even if <alt> and <tab> are pressed more often. Fixes odd behaviour if <alt> and <tab> are holded.
svn path=/trunk/KDE/kdebase/workspace/; revision=770090
2008-02-02 19:00:06 +00:00
Martin Gräßlin
e4834f296b Alternative Alt+Tab window switcher which displays all windows on a 3D stack and flips through the stack
svn path=/trunk/KDE/kdebase/workspace/; revision=765574
2008-01-24 10:36:32 +00:00