Commit graph

28 commits

Author SHA1 Message Date
Martin Gräßlin
010798db44 Some more multi screen voodoo. Thanks to kwin not crashing any more when changing layout and/or resolution I'm quite confident that the layout works with all possible two screen layouts.
svn path=/trunk/KDE/kdebase/workspace/; revision=893587
2008-12-06 22:51:57 +00:00
Lucas Murray
5413d0ec5d SVN_SILENT Cleaned up recent commits.
svn path=/trunk/KDE/kdebase/workspace/; revision=892363
2008-12-04 09:02:21 +00:00
Martin Gräßlin
39d23a7ab3 Do not activate OpenGL only effects in XRender mode.
BUG: 176617

svn path=/trunk/KDE/kdebase/workspace/; revision=892361
2008-12-04 08:47:07 +00:00
Martin Gräßlin
f6d8309251 Don't know what I tested before... but the reflection area does not get clipped by using PaintClipper, therefore we still need a scissor test. PaintClipper is also needed for the reflected windows in a vertical screen layout.
svn path=/trunk/KDE/kdebase/workspace/; revision=892245
2008-12-03 21:08:38 +00:00
Martin Gräßlin
77381aadb3 Use PaintClipper to restrict reflections to the current screen. By that we can make the reflection plane so huge that it will definatelly be on the screen.
svn path=/trunk/KDE/kdebase/workspace/; revision=892204
2008-12-03 19:48:06 +00:00
Lucas Murray
ebb0fe0979 Use a hack to fix the reflection base position in cover switch, added
just in case Martin doesn't get around to fixing it before 4.2 release.
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/workspace/; revision=890407
2008-11-29 09:32:59 +00:00
Martin Gräßlin
b274203a6a Merge the coverswitch branch from git://github.com/Zarin/kwin.git (http://github.com/Zarin/kwin/tree/coverswitch)
This includes:
 * use of RotationData instead of glRotate
 * use of x/y/zTranslate instead of glTranslate
 * does not define own projection matrix
 * changed the direction of the animation (consistent with Cover Flow)
 * no special code for start/stop animations. That's now covered in the code 
for "normal" switching, thanks to not using glTranslate any more. Therefore 
minimized windows are faded instead of moved from panel
 * zoom - define how far away the windows appear (only in config dialog possible)
 * additional thumbnail bar which is shown when there are many (>= 8, configurable) windows
 * window covers can be clicked and become selected window

(Sorry for the one big commit - looking forward to the days when we don't lose commit history when using git ;-))

svn path=/trunk/KDE/kdebase/workspace/; revision=883008
2008-11-11 21:32:45 +00:00
Enrique Matías Sánchez
f5efd9ca28 SVN_SILENT Fix typos in kdebase
svn path=/trunk/KDE/kdebase/workspace/; revision=875089
2008-10-23 09:31:44 +00:00
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
d5da6310b4 Fix possible crash when alt+tabbing again while coverswitch is closing.
BUG: 170860

svn path=/trunk/KDE/kdebase/workspace/; revision=864225
2008-09-24 08:45:53 +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
Laurent Montel
79328d79c9 Fix includes
svn path=/trunk/KDE/kdebase/workspace/; revision=833041
2008-07-16 06:39:10 +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
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
Cédric Borgese
41acbcfd5a Fix memory leak.
svn path=/trunk/KDE/kdebase/workspace/; revision=810521
2008-05-20 22:02:11 +00:00
Sebastian Kügler
874ec72298 Also fadein/out windows that are mimizied and live under the taskbar when
starting and stopping the Coverswitch effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=805261
2008-05-08 00:18:10 +00:00
Sebastian Kügler
d35fe96770 Coverswitch: Fade windows not on the current desktop in and out
when the effect is started and stopped.

svn path=/trunk/KDE/kdebase/workspace/; revision=802483
2008-04-29 16:20:06 +00:00
Martin Gräßlin
6925faa034 Adding some checks for Null-pointers. This should prevent from very unlikely crashes when a window closes during the animation.
BUG: 160871

svn path=/trunk/KDE/kdebase/workspace/; revision=802111
2008-04-28 15:01:01 +00:00
Martin Gräßlin
1970e94260 Don't show complete animation if alt+tab is released during start animation. Directly switch to correct point in stop animation.
svn path=/trunk/KDE/kdebase/workspace/; revision=799885
2008-04-22 18:09:50 +00:00
Martin Gräßlin
89458622c7 Make physic based animation also work with "high" animation durations.
Use of addTime() instead of setProgress().
Only set curve shape once.

svn path=/trunk/KDE/kdebase/workspace/; revision=799466
2008-04-21 16:09:11 +00:00
Sebastian Kügler
9075540ef0 Don't set curveshape twice, caught by Andre Duffeck
svn path=/trunk/KDE/kdebase/workspace/; revision=799113
2008-04-20 12:56:46 +00:00
Sebastian Kügler
a4d3693625 CoverSwitch now uses TimeLine.
svn path=/trunk/KDE/kdebase/workspace/; revision=798727
2008-04-19 00:28:38 +00:00
Martin Gräßlin
4c77b8c85d Makes CoverSwitch working with TwinView/Xinerama Settings. Switching is now only shown on the current screen and not extended to both screens.
CCBUG: 159111

svn path=/trunk/KDE/kdebase/workspace/; revision=798109
2008-04-17 14:15:55 +00:00
Aaron J. Seigo
a09d1a775d make cover switch look more elegent with a black reflective surface that "floats" on top of the desktop (by simply fading out to nothing)
CCMAIL:ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/workspace/; revision=797007
2008-04-14 17:59:37 +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
Martin Gräßlin
8d0137f788 Removing the global shortcut for slow motion mode
svn path=/trunk/KDE/kdebase/workspace/; revision=782032
2008-03-04 10:27:32 +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
dd1b16a432 Alternative Alt+Tab window switcher similar to Compiz Fusion's cover switch of shift switcher effect
svn path=/trunk/KDE/kdebase/workspace/; revision=777745
2008-02-21 13:20:22 +00:00