Commit graph

1325 commits

Author SHA1 Message Date
Martin Gräßlin
2a8fae3234 Rename uniforms textureWidth and textureHeight to blurTextureWidth/Height in blur effect as those uniforms are used on global scale now.
svn path=/trunk/KDE/kdebase/workspace/; revision=961554
2009-04-30 10:40:05 +00:00
Script Kiddy
71766bae2e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=961136
2009-04-29 14:49:56 +00:00
Martin Gräßlin
7a06c636b2 Reenable logout blur - we found the reason why it stopped rendering (popRenderTarget in assert statement). If someone still has problems with it, please yell.
svn path=/trunk/KDE/kdebase/workspace/; revision=960509
2009-04-28 15:00:56 +00:00
Martin Gräßlin
7b2f79428a Mouse polling was deactivated wrongly in all zooming effects.
BUG: 183983

svn path=/trunk/KDE/kdebase/workspace/; revision=960048
2009-04-27 20:20:05 +00:00
Martin Gräßlin
8f19fcd767 Put OpenGL commands in magnifier in #ifdef KWIN_HAVE_OPENGL_COMPOSITING and effects->compositingType() == KWin::OpenGLCompositing.
svn path=/trunk/KDE/kdebase/workspace/; revision=960004
2009-04-27 18:34:05 +00:00
Martin Gräßlin
1b728c3337 Trigger a full repaint when mouse moves in magnifier effect. This is a slight overhead but fast mouse movements caused artefacts as some change events were lost.
BUG: 187658

svn path=/trunk/KDE/kdebase/workspace/; revision=959982
2009-04-27 17:36:20 +00:00
Michael Zanetti
33d2f0398b work with windows on all desktops
BUG: 190840

svn path=/trunk/KDE/kdebase/workspace/; revision=959955
2009-04-27 16:15:08 +00:00
Adriaan de Groot
76a819be63 Disambiguate std::sqrt
svn path=/trunk/KDE/kdebase/workspace/; revision=959929
2009-04-27 15:13:18 +00:00
Michael Zanetti
000b7bed5c eliminate flickering + minor fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=959854
2009-04-27 12:57:52 +00:00
Martin Gräßlin
144f578a5d Cylinder and Sphere use new setting of texture width and height. For that renaming windowWidth and windowHeight to textureWidth/Height. So finally the new argb decos work with cylinder and sphere.
svn path=/trunk/KDE/kdebase/workspace/; revision=959842
2009-04-27 11:35:35 +00:00
Martin Gräßlin
c0a20bd38f Shadow sets texture width and height if there is a shader bound.
BUG: 188352

svn path=/trunk/KDE/kdebase/workspace/; revision=959837
2009-04-27 11:12:20 +00:00
Martin Gräßlin
0ff09244f1 Taskbarthumbnail sets texture width and height if there is a shader bound.
BUG: 190061

svn path=/trunk/KDE/kdebase/workspace/; revision=959836
2009-04-27 11:10:08 +00:00
Martin Gräßlin
d7665af4f0 Texture width and height is stored in GLShader and the uniform value is set during prepareShaderRenderStates in scene_opengl. So the effects do not have to set the uniform manually. This is useful as other effects can still set this uniform if something different is rendered with a different texture width/height (e.g. shadows or thumbnails). When the window is finally rendered the original value set by the effect is definatelly used.
First effect to use this new way to set texture width and height is invert effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=959835
2009-04-27 11:07:15 +00:00
Script Kiddy
9c6f4d4d90 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=959206
2009-04-25 17:49:11 +00:00
Script Kiddy
4d801d5d4f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=958687
2009-04-24 13:52:23 +00:00
Script Kiddy
680a40a623 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=958205
2009-04-23 14:12:32 +00:00
Script Kiddy
f2ecd39b22 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=957596
2009-04-22 15:11:45 +00:00
Michael Zanetti
95cb1b2744 behave better with modal windows
svn path=/trunk/KDE/kdebase/workspace/; revision=957551
2009-04-22 12:49:28 +00:00
Michael Zanetti
a5d8b15573 bahave better if the user moves the window while changing the stacking
order

svn path=/trunk/KDE/kdebase/workspace/; revision=957532
2009-04-22 11:24:19 +00:00
Script Kiddy
882a759c2e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=957154
2009-04-21 13:52:05 +00:00
Michael Zanetti
713e3b0c61 slide further away if the user moves the active window
svn path=/trunk/KDE/kdebase/workspace/; revision=956891
2009-04-20 21:19:14 +00:00
Script Kiddy
6396ee5be6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=956738
2009-04-20 14:12:26 +00:00
Martin Gräßlin
3f4b77e0ea Pass opacity, brightness and saturation from shadow to a bound shader. So the shadow won't be a solid brick when a shader (e.g. invert) is active.
CCBUG: 188352

svn path=/trunk/KDE/kdebase/workspace/; revision=956600
2009-04-20 11:33:06 +00:00
Martin Gräßlin
3e56e98281 Use opacity, brighness and saturation in shader for cylinder and sphere. That allows to have dimmed windows in these effects and correct window opacity.
svn path=/trunk/KDE/kdebase/workspace/; revision=956595
2009-04-20 11:07:47 +00:00
Script Kiddy
1b59bb1efc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=955783
2009-04-18 14:40:06 +00:00
Script Kiddy
f199007952 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=955381
2009-04-17 13:22:59 +00:00
Script Kiddy
e50340d1e1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=954465
2009-04-15 20:03:14 +00:00
Michael Zanetti
d6a5f717f2 Add new SlideBack effect
svn path=/trunk/KDE/kdebase/workspace/; revision=954446
2009-04-15 19:31:20 +00:00
Martin Gräßlin
d1c27ba9a8 Show windows from other desktops in boxswitch in the same way as minimized windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=952826
2009-04-12 16:35:22 +00:00
Script Kiddy
5e9adee3b4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=952747
2009-04-12 13:23:57 +00:00
Albert Astals Cid
e74249083f const & for foreach 'iterators'
svn path=/trunk/KDE/kdebase/workspace/; revision=952187
2009-04-11 11:11:50 +00:00
Script Kiddy
e0aa1f31cc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=951138
2009-04-08 15:00:04 +00:00
Martin Gräßlin
93196e8a99 Allow moving of maximized windows to another desktop in desktop grid. As there is no real visual feedback the cursor is changed to the moving one.
FEATURE: 153931

svn path=/trunk/KDE/kdebase/workspace/; revision=950718
2009-04-07 16:10:29 +00:00
Script Kiddy
52be720325 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=948671
2009-04-03 13:57:56 +00:00
Martin Gräßlin
a4a783d94c MagicLamp requires OpenGL.
svn path=/trunk/KDE/kdebase/workspace/; revision=947729
2009-04-01 09:56:01 +00:00
Martin Gräßlin
69b8e33fce Check for the global shortcut in the effects so that the shortcut actually toggles the effect. This is a workaround needed because the keyboard grab disables the global shortcut.
FEATURE: 156155

svn path=/trunk/KDE/kdebase/workspace/; revision=946787
2009-03-30 11:27:57 +00:00
Martin Gräßlin
92484573f2 Effects can be activated at more than one electric border.
FEATURE: 180548

svn path=/trunk/KDE/kdebase/workspace/; revision=946404
2009-03-29 12:57:20 +00:00
Script Kiddy
8213157feb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=944934
2009-03-26 14:43:45 +00:00
Script Kiddy
4009dc8dc3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=943873
2009-03-24 15:44:46 +00:00
Script Kiddy
fcc1723cd0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=942339
2009-03-21 15:26:07 +00:00
Script Kiddy
bdcfea956f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=941843
2009-03-20 14:53:39 +00:00
Martin Gräßlin
f232a830aa Don't use the gl lists when a new window is added. This prevents the added window becoming black.
svn path=/trunk/KDE/kdebase/workspace/; revision=941274
2009-03-19 10:22:04 +00:00
Martin Gräßlin
141f166c56 No need to use different client area options in cube for one or multi screen setups any more. FullArea suits both now.
svn path=/trunk/KDE/kdebase/workspace/; revision=940985
2009-03-18 15:22:42 +00:00
Martin Gräßlin
7fc3bbf39d Drop the multi screen mode where the cube is scaled on one screen. So there is only the span cube on all screens option. The mode is dropped for the following reasons:
* it looks strange
 * it changes the projection matrix which makes the code ugly
 * it never worked with cylinder or sphere
 * it was broken in trunk anyway

svn path=/trunk/KDE/kdebase/workspace/; revision=940977
2009-03-18 15:01:21 +00:00
Script Kiddy
6af875f8f9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=940939
2009-03-18 14:28:37 +00:00
Martin Gräßlin
666a2224f4 Center desktop name box on active screen instead of the center of whole area. So the desktop name is always visible in multi screen setups and only shown on one screen.
svn path=/trunk/KDE/kdebase/workspace/; revision=940812
2009-03-18 10:45:46 +00:00
Script Kiddy
8c5e524769 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=940525

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-03-17 15:51:17 +00:00
Script Kiddy
88cb1a960c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=939654

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-03-15 13:46:07 +00:00
Script Kiddy
4353883e82 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=939259
2009-03-14 14:36:38 +00:00
Script Kiddy
d545c40d7a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=938595
2009-03-12 13:30:21 +00:00
Script Kiddy
cf222c6da0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=937460
2009-03-09 18:00:36 +00:00
Martin Gräßlin
371c6804f4 Don't dim unmanaged windows.
BUG: 183046

svn path=/trunk/KDE/kdebase/workspace/; revision=936926
2009-03-08 16:53:31 +00:00
Martin Gräßlin
3c449d81cc New way to determine in which direction to animate the magic lamp. Based on the assumption that icon geometry is part of a panel. Using the panel to find the position is more safe as a the height of a vertical panel is greater than the width. This might not be true for the icon geometry. If the panel is autohidden we still have to use the icon geometry using the assumption that it will border one screen edge. For the unlikely case of bordering two screen edges the wrong animation might be used but it won't be distorted.
There's still the possiblity of distortion if someone places the panel between two screens. But that's hardly possible to catch as it would require to animate parts of the window in one direction and the rest in another direction.
BUG: 183059
BUG: 183099

svn path=/trunk/KDE/kdebase/workspace/; revision=936880
2009-03-08 15:12:55 +00:00
Script Kiddy
9d33d771dc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=936838

The following changes were in SVN, but were removed from git:

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-03-08 14:36:22 +00:00
Lucas Murray
6d57716d53 Minor memory leak patch to present windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=936614
2009-03-08 05:07:42 +00:00
Lucas Murray
358264a828 Various optimizations and memory leak patches to box and cover switch.
svn path=/trunk/KDE/kdebase/workspace/; revision=936613
2009-03-08 05:07:32 +00:00
Lucas Murray
245cc3ecb6 Correct detection of damaged windows in the taskbar thumbnail effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=935762
2009-03-06 06:16:00 +00:00
Lucas Murray
8ba7586d79 Disable logout effect blur by default as some graphics drivers don't
correctly fallback and I have yet to work out a way of accurately
detecting support.

svn path=/trunk/KDE/kdebase/workspace/; revision=935761
2009-03-06 06:10:00 +00:00
Script Kiddy
d6dadb0c84 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=935170
2009-03-04 15:51:12 +00:00
Toby Dickenson
0c166b6ecb call the windowUserMovedResized hook for maximize/restore. That method has two boolean parameters which indicate whether this is the first move in a sequence, and the last. For maximize/restore we set both to true, and several effects need tweaking to handle this case. Also include an addition to the wobbly windows effect to include a slight 'throb' when maximized/restored. This makes it easier for your eye to track where your de-maxized window went to. FEATURE 185014
svn path=/trunk/KDE/kdebase/workspace/; revision=934346
2009-03-02 20:18:35 +00:00
Lucas Murray
27187f2c15 Correctly handle windows that were closed but not yet deleted when the
present windows desktop effect is activated.
CCBUG: 185127
CCBUG: 185239
BUG: 185856

svn path=/trunk/KDE/kdebase/workspace/; revision=934022
2009-03-02 07:48:56 +00:00
Script Kiddy
7f6ebfd1a2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=933233
2009-02-28 13:35:50 +00:00
Lucas Murray
e0faab0e96 Added debug asserts to present windows. This will hopefully cause KWin
to crash instead of producing black screens making it easier to find the
cause. For the people who can reproduce existing crashes please resubmit
their backtraces with this change applied.
CCBUG: 185127
CCBUG: 185239

svn path=/trunk/KDE/kdebase/workspace/; revision=933187
2009-02-28 10:18:46 +00:00
Lucas Murray
d5ef2a7a87 Prevent present windows from crashing if the highlighted window from the
previous activation is closed and the effect is activated a second time.
BUG: 179537

svn path=/trunk/KDE/kdebase/workspace/; revision=933171
2009-02-28 09:21:54 +00:00
Script Kiddy
50f9db8dd9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=932916
2009-02-27 15:36:31 +00:00
Lucas Murray
8f55220d9a Update the taskbar thumbnail if the original window was damaged.
svn path=/trunk/KDE/kdebase/workspace/; revision=932227
2009-02-26 10:38:52 +00:00
Script Kiddy
67b8f942e3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=931776

The following changes were in SVN, but were removed from git:

M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-02-25 19:33:07 +00:00
Script Kiddy
f5faac5cd4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=930985
2009-02-24 15:27:49 +00:00
Lucas Murray
bd683eb31b More reliably fade the login splash window. No idea why this works, it
just does.

svn path=/trunk/KDE/kdebase/workspace/; revision=930873
2009-02-24 13:30:44 +00:00
Martin Gräßlin
c016f07738 Use bigger quads for desktops in the rear, so that less vertices have to be processed by cylinder and sphere shader. That should improve the performance without influencing the visual appearance.
svn path=/trunk/KDE/kdebase/workspace/; revision=930495
2009-02-23 17:03:27 +00:00
Lucas Murray
d4f16a8dca Why doesn't my system crash when deleting uninitialized data? In
unrelated news the fade effect is broken again... This time it prevents
windows from ever being deleted. This commit message wins the "most
unrelated" award.
BUG: 185239

svn path=/trunk/KDE/kdebase/workspace/; revision=930448
2009-02-23 14:24:20 +00:00
Script Kiddy
1e616c6078 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=930427
2009-02-23 13:41:51 +00:00
Martin Gräßlin
752489aac5 Windows can't overlap desktop edges in cylinder or sphere mode. It results either in incorrect painting or in GL errors.
svn path=/trunk/KDE/kdebase/workspace/; revision=930083
2009-02-22 17:11:47 +00:00
Martin Gräßlin
b428fb46a0 Cube keeps rotating when mouse is at left or right screen edge.
BUG: 182454

svn path=/trunk/KDE/kdebase/workspace/; revision=930054
2009-02-22 15:57:26 +00:00
Lucas Murray
be268c1f4c SVN_SILENT Fix crash in present windows.
BUG: 185239

svn path=/trunk/KDE/kdebase/workspace/; revision=930007
2009-02-22 14:51:38 +00:00
Lucas Murray
c1d5937a66 SVN_SILENT Fix crash in box switch.
CCBUG: 185239

svn path=/trunk/KDE/kdebase/workspace/; revision=930005
2009-02-22 14:49:23 +00:00
Lucas Murray
1e91a66fd2 Added support for unstyled and frameless EffectFrames. Converted all
effects that display text or boxes to use the class. Minor speed
increase in XRender mode for those effects and a massive increase in
OpenGL mode (Double framerate in present windows in my case).

svn path=/trunk/KDE/kdebase/workspace/; revision=929951
2009-02-22 13:04:16 +00:00
Script Kiddy
d31dc9eb9b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=929949
2009-02-22 13:03:29 +00:00
Martin Gräßlin
a6d8bb41bb Reactivating the use of a gl list for painting the cube. The cube is painted once without using the gl list. By that the problem of black windows on other desktops should be solved. If the black window problem appears again the patch will be reverted.
CCBUG: 183905

svn path=/trunk/KDE/kdebase/workspace/; revision=929840
2009-02-22 11:27:08 +00:00
Martin Gräßlin
eae6279ca9 Fill empty areas in multi screen setups in cylinder and sphere as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=929833
2009-02-22 10:58:26 +00:00
Script Kiddy
1633b87635 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=929498
2009-02-21 14:07:30 +00:00
Lucas Murray
e03748fba7 Added EffectFrame, a helper class that creates, manages and caches a
Plasma frame object. There are two ways to use this class: The first is
in "static" mode which gives the frame a set geometry and will not
change, the second is an automatic mode that creates the smallest
possible frame around the specified contents. Contents can either be
normal text and/or a QPixmap, useful for displaying the caption and icon
of the currently highlighed window.
Known bugs:
 - Does not detect Plasma theme changes, known to be in the Plasma
   library.
 - Slight graphical glitches, known to be in Qt 4.5.0 RC1.
Untested:
 - What happens when there is no Plasma theme installed.

svn path=/trunk/KDE/kdebase/workspace/; revision=929324
2009-02-21 04:53:13 +00:00
Martin Gräßlin
75346f126b Rotate windows on all desktops by default. Keeping them in place brakes the stacking order during animation.
BUG: 185019

svn path=/trunk/KDE/kdebase/workspace/; revision=928985
2009-02-20 14:04:41 +00:00
Martin Gräßlin
445f021b06 Fix commit which broke shadows.
svn path=/trunk/KDE/kdebase/workspace/; revision=928975
2009-02-20 13:48:23 +00:00
Pino Toscano
277e7e033d SVN_SILENT not an executable
svn path=/trunk/KDE/kdebase/workspace/; revision=928850
2009-02-20 10:09:00 +00:00
Martin Gräßlin
c648f03313 A new vertex shader for cylinder effect using polar coordinates. Solves some painting problems.
Adding a new cylinder cap as well as the new cylinder is smaller than the old one.

svn path=/trunk/KDE/kdebase/workspace/; revision=928679
2009-02-19 20:32:20 +00:00
Shaun Reich
0de26e983d String "Active windows has stronger shadow" changed to -> "Active windows have stronger shadows", the former doesn't make sense.
svn path=/trunk/KDE/kdebase/workspace/; revision=928678
2009-02-19 20:28:53 +00:00
Script Kiddy
63bbc6ab56 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=928349
2009-02-19 12:52:51 +00:00
Martin Gräßlin
bdef1d7c5b Smoothly transform to cube and sphere during start animation and vice versa during stop animation.
Caps have to be deformed during start/stop as well.

svn path=/trunk/KDE/kdebase/workspace/; revision=928308
2009-02-19 11:50:00 +00:00
Martin Gräßlin
5025509e3a Distance between 3D windows is determined by the zoom position divided by the number of windows in stacking order when cube is activated.
svn path=/trunk/KDE/kdebase/workspace/; revision=928279
2009-02-19 11:03:40 +00:00
Martin Gräßlin
6a671fa2f2 Change the timeline curve shape depending on the number of rotations. If there is only one rotation it is an EaseInOut curve, if there are more than one rotations first is an EaseIn, last an EaseOut all other Linear curves.
svn path=/trunk/KDE/kdebase/workspace/; revision=928255
2009-02-19 09:31:58 +00:00
Martin Gräßlin
05a97d39c8 Adding windows overlapping edges to cube slide animation. Overlapping windows from target desktop are faded in and windows from source desktop are faded out. This looks really good for slow animation speed but for normal speed it's kind of flashy. So perhaps I'll add an option to turn it off...
svn path=/trunk/KDE/kdebase/workspace/; revision=927999
2009-02-18 19:14:47 +00:00
Script Kiddy
f1b448ad2f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=927865
2009-02-18 13:16:56 +00:00
Martin Gräßlin
5e94274eb6 We cannot use glLists for painting the cube. It's causing black windows.
BUG: 183905

svn path=/trunk/KDE/kdebase/workspace/; revision=927767
2009-02-18 11:58:36 +00:00
Martin Gräßlin
cb28513163 New way to paint the windows overlapping screen edges. It works with the new windows hover above cube (still small painting sequence issues).
svn path=/trunk/KDE/kdebase/workspace/; revision=927720
2009-02-18 09:33:19 +00:00
Martin Gräßlin
5fe0ef985d Add new "sheet" effect based on fade. This effect animates appearing and disappearing of modal dialogs. Inspired by a Compiz Fusion effect (http://smspillaz.wordpress.com/2008/12/23/they-say-when-you-start-something/) and seems to be a Mac OS X animation as well.
FEATURE: 178945

svn path=/trunk/KDE/kdebase/workspace/; revision=927566
2009-02-17 21:13:00 +00:00
Martin Gräßlin
ed311a899d Add an option so that windows can hover above the cube similar to 3D Windows plugin in Compiz. Currently this disables "windows overlapping edges" feature when this option is set (no change when not set).
FEATURE: 184689


svn path=/trunk/KDE/kdebase/workspace/; revision=927550
2009-02-17 20:47:02 +00:00
Martin Gräßlin
7243d7132e Correctly recalculate pending rotations if desktop is changed during animation.
BUG: 183925

svn path=/trunk/KDE/kdebase/workspace/; revision=927417
2009-02-17 12:47:18 +00:00
Script Kiddy
5aa2e29603 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=927390
2009-02-17 12:09:45 +00:00
Lucas Murray
ccd068897c Don't desaturate the logout window if blur is not supported.
svn path=/trunk/KDE/kdebase/workspace/; revision=926535
2009-02-15 16:12:43 +00:00
Lucas Murray
792c7439f8 Fix OpenGL-less compile and make the effect actually display something
to the user if blur is not supported (Screen appears to freeze).

svn path=/trunk/KDE/kdebase/workspace/; revision=926527
2009-02-15 16:04:29 +00:00
Lucas Murray
3f5a338234 Prevent wobbly windows from being enabled while in XRender mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=926396
2009-02-15 10:34:46 +00:00
Lucas Murray
f5790fcce1 Prevent the logout effect from crashing KWin on quit if blur is not
supported.

svn path=/trunk/KDE/kdebase/workspace/; revision=926395
2009-02-15 10:34:41 +00:00
Lucas Murray
d072b5d1b7 Added new effect: Snap Helper. This effect is useful for those
perfectionist people that want to move a window to the exact center of
the screen but can never get close enough to it for the automatic
snapping to trigger. OpenGL-only for now, gave up on XRender, if anyone
can get it to work go for it.

svn path=/trunk/KDE/kdebase/workspace/; revision=926393
2009-02-15 10:34:31 +00:00
Toby Dickenson
b1e7b937a0 A better wobbly window effect for resizing. Extra spatial constraints for edges that have not moved, so that only the edges/corners being moved will wobble.
svn path=/trunk/KDE/kdebase/workspace/; revision=926269
2009-02-14 22:42:09 +00:00
Script Kiddy
d398ad0c9e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=926053

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-02-14 16:04:31 +00:00
Lucas Murray
dd28e15a1b Allow desktop effects to access the new DesktopLayout class. Replaced
all code that used calcDesktopLayout() so the function could be removed.
Minor changes to the DesktopLayout class itself.

svn path=/trunk/KDE/kdebase/workspace/; revision=925930
2009-02-14 14:49:46 +00:00
Martin Gräßlin
4fa09b63b4 Sphere and Cylinder become part of Cube effect. That is much more convenient than having an own effect for each (only loading the shader is actually required).
Btw caps of cylinder and sphere are working correctly again.

svn path=/trunk/KDE/kdebase/workspace/; revision=925809
2009-02-14 09:29:01 +00:00
Script Kiddy
78e5461790 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=925513
2009-02-13 12:58:02 +00:00
Script Kiddy
73b947b1ca SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=925107
2009-02-12 13:42:22 +00:00
Martin Gräßlin
3f07d10802 Blur windows which have hasAlpha set. That way background of e.g. transparent Plasma panels and Konsole will be blurred as well.
FEATURE: 178670

svn path=/trunk/KDE/kdebase/workspace/; revision=925075
2009-02-12 11:20:44 +00:00
Script Kiddy
c052cd2e57 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=924734

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
2009-02-11 14:05:30 +00:00
Michael Jansen
366488f20c Commit 921749 changed the component name for kwin effects configuration kcms
from kwin to kcm_kwin4_effect_xyz . That broke global shortcuts configuration.

CCMAIL: kwin@kde.org
CCMAIL: lmurray@undefinedfire.com

svn path=/trunk/KDE/kdebase/workspace/; revision=924534
2009-02-11 00:34:09 +00:00
Script Kiddy
9894be083c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=924329
2009-02-10 14:33:53 +00:00
Lucas Murray
c493623f7a Only activate windows in desktop grid if the user moves them and prevent
moving of minimized windows. Also fixes activating of minimized windows
in desktop grid by clicking where they were when they were visible.
BUG: 179938

svn path=/trunk/KDE/kdebase/workspace/; revision=924118
2009-02-10 07:02:19 +00:00
Martin Gräßlin
5d54cf9445 Rework of dim screen for administration mode effect. Now it changes brightness and saturation of all windows instead of painting a semi-transparent area on the screen. And it works nicely with fullscreen effects. So the windows are not dimmed in e.g. coverswitch.
BUG: 183046

svn path=/trunk/KDE/kdebase/workspace/; revision=923844
2009-02-09 14:59:14 +00:00
Lucas Murray
1bc2f456d9 Prevent dim inactive from crashing whenever the previous active window
is closed.

svn path=/trunk/KDE/kdebase/workspace/; revision=923835
2009-02-09 14:36:47 +00:00
Script Kiddy
657288d7b6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=923793
2009-02-09 13:37:07 +00:00
Lucas Murray
56f36bec7f Deactivate window highlight immediately after the window is closed or if
the X window property is deleted.

svn path=/trunk/KDE/kdebase/workspace/; revision=923779
2009-02-09 12:37:59 +00:00
Lucas Murray
b11d863033 Cleaned up the logout effect and fixed a whole pile of bugs that I
introduced when adding the blur animation.

svn path=/trunk/KDE/kdebase/workspace/; revision=923329
2009-02-08 16:04:02 +00:00
Script Kiddy
bcb561c839 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=923249
2009-02-08 14:11:41 +00:00
Lucas Murray
8f8c1d31ba Added blurring during the logout effect. As this is done entirely using
mipmaps the quality isn't the best. Might add a shader later that will
generate the final image so it uses mipmaps for realtime blurring while
using a high quality blur at the end.

svn path=/trunk/KDE/kdebase/workspace/; revision=923246
2009-02-08 14:07:00 +00:00
Lucas Murray
13c2f21e9d Added EffectWindow::acceptsFocus(). Prevent present windows from
displaying windows that cannot be focused anyway (Such as conky).

svn path=/trunk/KDE/kdebase/workspace/; revision=923091
2009-02-08 08:45:21 +00:00
Script Kiddy
b4151d2103 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=922806
2009-02-07 16:03:24 +00:00
Lucas Murray
fd233d1482 SVN_SILENT Started writing code that would display a thumbnail of a
window in the middle of the screen if it was offscreen when the
highlight window effect was activated. After getting half way through it
however I determined that it was a useless feature so instead of
deleting the code that was already written I am just commenting it out.
If anyone can find a purpose for this please let me know your ideas.

svn path=/trunk/KDE/kdebase/workspace/; revision=922795
2009-02-07 15:40:31 +00:00
Lucas Murray
c028835466 SVN_SILENT Make dim inactive effect animation obey the user's animation
speed settings.

svn path=/trunk/KDE/kdebase/workspace/; revision=922576
2009-02-07 09:53:17 +00:00
Lucas Murray
681cda92b5 Add slight animations to the dim inactive effect. Also don't dim windows
when a fullscreen effect is active, fixes dimmed windows during
coverswitch.
BUG: 165295

svn path=/trunk/KDE/kdebase/workspace/; revision=922574
2009-02-07 09:48:20 +00:00
Lucas Murray
1db192a11d Fixed cube from crashing due to mouse polling if it was activated and
deactivated too quickly.

svn path=/trunk/KDE/kdebase/workspace/; revision=922457
2009-02-07 05:52:25 +00:00
Albert Astals Cid
5b89fb86ed Typo found by Yuri Chornoivan
svn path=/trunk/KDE/kdebase/workspace/; revision=922388
2009-02-06 21:23:57 +00:00
Martin Gräßlin
f7f5bc8326 Split cube mode and animation of desktop switching in separate effects: say hello to CubeSlide effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=922342
2009-02-06 18:53:16 +00:00
Script Kiddy
00a50d882f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=922231
2009-02-06 15:34:47 +00:00
Lucas Murray
fef063cf46 Ensure to highlight the correct desktop back in if the desktop grid was
deactivated by pressing ESC or by using an electric border.

svn path=/trunk/KDE/kdebase/workspace/; revision=922144
2009-02-06 14:31:54 +00:00
Lucas Murray
81ffa5aec9 Raise electric border windows when an effect mouse input window is
created to allow effects to be toggled by active screen edges.

svn path=/trunk/KDE/kdebase/workspace/; revision=922121
2009-02-06 14:21:20 +00:00
Lucas Murray
a1c82cd52b Added support for inter-effect communication through the use of proxy
classes. Example code has been added to present windows and desktop
grid, if this code is not to be used by KDE 4.3 it should be removed and
added to a test effect instead.

svn path=/trunk/KDE/kdebase/workspace/; revision=922039
2009-02-06 10:15:06 +00:00
Martin Gräßlin
502fdbb751 Cylinder and Sphere effect have their own shortcut. Nevertheless it's still not possible to use cube and cylinder or sphere. That'll be fixed when the effects are merged into cube.
BUG: 175788

svn path=/trunk/KDE/kdebase/workspace/; revision=922033
2009-02-06 09:51:04 +00:00
Martin Gräßlin
daa32a53fb Adding mouse wheel support to effects. First one to use is cube effect.
CCMAIL: marco.gulino@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=922031
2009-02-06 09:45:34 +00:00
Martin Gräßlin
a3c57fcab0 Option to not animate windows shown on all desktops during desktop switching animation.
svn path=/trunk/KDE/kdebase/workspace/; revision=922030
2009-02-06 09:39:57 +00:00
Martin Gräßlin
7b5a71d2dd Option to not change the opacity of windows in cube mode. That way only the cube (that is the desktops) will be painted in a transparent way.
FEATURE: 182195

svn path=/trunk/KDE/kdebase/workspace/; revision=922029
2009-02-06 09:37:18 +00:00
Martin Gräßlin
642ae708b5 Cube uses the pager layout to animate desktop switching (not the cube mode). This requires some more work including an option to use the old way (ignoring pager layout).
FEATURE: 167752

svn path=/trunk/KDE/kdebase/workspace/; revision=922028
2009-02-06 09:32:16 +00:00
Martin Gräßlin
026c90a983 Option to not animate the panels during desktop switching animation.
FEATURE: 177730

svn path=/trunk/KDE/kdebase/workspace/; revision=922026
2009-02-06 09:27:40 +00:00
Martin Gräßlin
59208e430a Option to invert mouse and cursor keys in cube mode.
FEATURE: 178398

svn path=/trunk/KDE/kdebase/workspace/; revision=922025
2009-02-06 09:24:12 +00:00
Martin Gräßlin
b81bf26c77 Fill empty spaces in multi screen setup with cube cap color if caps are used.
FEATURE: 169371

svn path=/trunk/KDE/kdebase/workspace/; revision=922024
2009-02-06 09:20:34 +00:00
Martin Gräßlin
a16aba4b05 Merge in the first changes from cube git branch (http://github.com/mgraesslin/kwin/tree/cube):
* Code restructuring and clean-up
 * Use of glLists to store the rotation and painting of the cube. That way things are only calculated when something changed. Painting the cube is still required in each frame as it would break all other effects.
 * Use face culling to paint the cube in the correct sequence.
 * Move loading of all settings to cube effect. In preparation of getting rid of cylinder and sphere classes

Known regression: cylinder and sphere caps are partly broken.

BUG: 171235

svn path=/trunk/KDE/kdebase/workspace/; revision=922023
2009-02-06 09:16:30 +00:00
Lucas Murray
846496d2c1 Cleaned up the effects/ directory by moving each individual effect into
its own directory, cleaned up the effect config macros and renamed
"MakeTransparent" to "Translucency" so that it matches its visible name.

svn path=/trunk/KDE/kdebase/workspace/; revision=921749
2009-02-05 15:35:38 +00:00
Script Kiddy
bc6415ef54 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=921684

The following changes were in SVN, but were removed from git:

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2009-02-05 14:09:41 +00:00
Script Kiddy
47ff12a419 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=921220
2009-02-04 16:27:07 +00:00
Lucas Murray
d0b6642abd Prevent the fade effect from constantly issuing repaint requests when it
is not needed. Prevents desktop grid excessive CPU usage.
CCBUG: 182997

svn path=/trunk/KDE/kdebase/workspace/; revision=920960
2009-02-04 06:48:25 +00:00
Script Kiddy
4de600e9c1 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=920635
2009-02-03 14:52:58 +00:00
Lucas Murray
8c55ce79cf Remove the fade effect dependency from the highlight window effect by
implementing the fade internally. Fixes some fading bugs and will make
off-screen window highlighting easier to implement whenever I get around
to doing it.

svn path=/trunk/KDE/kdebase/workspace/; revision=920590
2009-02-03 10:51:36 +00:00
Lucas Murray
6763fd5728 Use the opacity of the window that a taskbar thumbnail is displayed on
when displaying the thumbnail. This allows thumbnails to fade in and out
with the Plasma tooltip for example instead of always being opaque.

svn path=/trunk/KDE/kdebase/workspace/; revision=920573
2009-02-03 09:39:48 +00:00
Script Kiddy
d12b115dbe SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=920235
2009-02-02 15:35:50 +00:00
Script Kiddy
a8e370fa34 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=919783

The following changes were in SVN, but were removed from git:

M	wallpapers/HighTide/metadata.desktop
2009-02-01 16:24:40 +00:00
Lucas Murray
752d5fa642 Extracted mouse polling out of the composite timer to allow effects to
detect mouse movement and modifier key changes even when KWin is idle.
As the track mouse effect requires polling to always be active disabling
it by default to prevent wasting CPU usage in the default install.

svn path=/trunk/KDE/kdebase/workspace/; revision=919711
2009-02-01 15:16:52 +00:00
Script Kiddy
0aa8cd610f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=919234
2009-01-31 15:57:53 +00:00
Lucas Murray
d6a31bc921 Introducing the highlight window effect. When activated by the X atom
all windows are faded out except the one that is being highlighted.
It is nowhere near complete but committing it now so that the Plasma
developers can start playing around with it.

svn path=/trunk/KDE/kdebase/workspace/; revision=919159
2009-01-31 15:12:14 +00:00
Martin Gräßlin
7cb7f17a11 Abort effect if the current tab box window is deleted and the tabbox is empty afterwards. This hopefully resolves the crashes when a window is closed during active effect. At least I was not able to reproduce a crash anymore. If further testing shows that it resolves the problem the patch will be backported to branch and to other window switching effects showing the same problem.
CCBUG: 182358

svn path=/trunk/KDE/kdebase/workspace/; revision=919075
2009-01-31 13:23:58 +00:00
Martin Gräßlin
139b8c8f41 Revert commit r919007
svn path=/trunk/KDE/kdebase/workspace/; revision=919068
2009-01-31 13:15:14 +00:00
Lucas Murray
29484aa5fb Allow snow flakes to completely exit the screen before removing them.
Also create the flakes off-screen as well.
BUG: 182561

svn path=/trunk/KDE/kdebase/workspace/; revision=919039
2009-01-31 11:47:21 +00:00
Martin Gräßlin
a6fb2688cd Only clear QLists when they are empty. Prevents crashes.
BUG: 182358

svn path=/trunk/KDE/kdebase/workspace/; revision=919007
2009-01-31 09:49:33 +00:00
Lucas Murray
e93f4306d9 Fixed shadow color button signal not being picked up.
svn path=/trunk/KDE/kdebase/workspace/; revision=918989
2009-01-31 09:13:23 +00:00
Lucas Murray
cea8e1a286 Correctly apply the shadow color when in OpenGL mode.
BUG: 180536

svn path=/trunk/KDE/kdebase/workspace/; revision=918987
2009-01-31 09:01:32 +00:00
Luboš Luňák
1292a73314 Move the videorect effect out, as it reportedly doesn't work very well
and keeps confusing people. Go with 'recordmydesktop --full-shots' or
something until this is fixed.


svn path=/trunk/KDE/kdebase/workspace/; revision=918699
2009-01-30 14:43:43 +00:00
Script Kiddy
de4dca3940 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=917787

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-01-28 15:01:35 +00:00
Lucas Murray
117c719c7d Merge branch 'fadeeffect'
Conflicts:
	kcmkwin/kwincompositing/main.cpp

svn path=/trunk/KDE/kdebase/workspace/; revision=911326
2009-01-15 09:55:15 +00:00
Martin Gräßlin
07d5e9cf57 Add config dialog for MagicLamp effect. Currently only one option to change the animation duration is available.
FEATURE: 177961

svn path=/trunk/KDE/kdebase/workspace/; revision=910997
2009-01-14 15:31:08 +00:00
Martin Gräßlin
a46f5f8945 Add an option to show/not hide panels. Panels are of course not included into filtering and cannot be selected. Like all other windows you can't interact with panels. Option is default off.
CCBUG: 178913

svn path=/trunk/KDE/kdebase/workspace/; revision=910398
2009-01-13 10:19:47 +00:00
Martin Gräßlin
b2a6be6bf0 Close window filtering when the delete key is pressed.
FEATURE: 180516

svn path=/trunk/KDE/kdebase/workspace/; revision=910395
2009-01-13 10:10:55 +00:00
Alexis Ménard
e0d2b09d42 QImage.fill take a uint not a QColor so this color (Qt::transparent enum with 19 as a value) is invalid.
svn path=/trunk/KDE/kdebase/workspace/; revision=908403
2009-01-09 17:12:46 +00:00
Script Kiddy
7102a6d895 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=906580

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
2009-01-06 12:52:00 +00:00
Martin Gräßlin
6a969aa16e Don't change brightness of windows on all desktops as this causes flickering.
BUG: 170002

svn path=/trunk/KDE/kdebase/workspace/; revision=906087
2009-01-05 14:18:58 +00:00
Script Kiddy
be5c6ce3c2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=906032

The following changes were in SVN, but were removed from git:

M	wallpapers/Plasmalicious/metadata.desktop
2009-01-05 13:05:11 +00:00
Martin Gräßlin
e8cbd42ded Read path to cube cap image from kwinrc. This is needed for an easy branding by distros.
svn path=/trunk/KDE/kdebase/workspace/; revision=905512
2009-01-04 14:03:29 +00:00
Script Kiddy
fb1d569c49 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=905486

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-01-04 13:22:16 +00:00
Script Kiddy
4ce334a719 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=905053
2009-01-03 16:30:46 +00:00
Script Kiddy
65796cc45e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=904551

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-01-02 13:30:12 +00:00
Andreas Hartmetz
278f5f726c compile on ARM: qreal is NOT double on ARM
svn path=/trunk/KDE/kdebase/workspace/; revision=904368
2009-01-02 02:08:35 +00:00
Script Kiddy
5df75b84a4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=904135

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
2009-01-01 12:57:58 +00:00
Script Kiddy
4eb5d5d406 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=903841

The following changes were in SVN, but were removed from git:

M	wallpapers/Fields_of_Peace/metadata.desktop
2008-12-31 14:35:45 +00:00
Script Kiddy
7a972f6310 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=903428

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
2008-12-30 14:47:21 +00:00
Script Kiddy
e13f2b8904 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=902932

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
2008-12-29 14:03:22 +00:00
Script Kiddy
78f97312ae SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=902470

The following changes were in SVN, but were removed from git:

M	wallpapers/Plasmalicious/metadata.desktop
2008-12-28 13:25:02 +00:00
Lucas Murray
8b2b0bfe23 Prevent the present windows filter box from appearing when an unbound
key on the keyboard is pressed. Patch by Jacopo De Simoi. This should
really be done somewhere further up the chain but as it's a temporary
workaround anyway I guess it doesn't matter.
BUG: 178547

svn path=/trunk/KDE/kdebase/workspace/; revision=902453
2008-12-28 13:07:54 +00:00
Script Kiddy
54d6515c93 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=902162

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2008-12-27 16:16:25 +00:00
Script Kiddy
be2f86a282 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=901727

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-12-26 13:31:59 +00:00
Script Kiddy
2a634bb1c4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=901444
2008-12-25 12:49:04 +00:00
Script Kiddy
d145cce159 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=901125

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
2008-12-24 13:32:45 +00:00
Script Kiddy
63ec742b25 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=900700

The following changes were in SVN, but were removed from git:

M	wallpapers/Plasmalicious/metadata.desktop
2008-12-23 12:57:22 +00:00
Script Kiddy
31fadb16e6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=900281
2008-12-22 14:17:33 +00:00
Script Kiddy
78545e58b1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=899710

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
2008-12-21 12:59:15 +00:00
Jure Repinc
aa21d33dc8 Fixed a typo
svn path=/trunk/KDE/kdebase/workspace/; revision=899478
2008-12-20 21:40:13 +00:00
Script Kiddy
96b9552efd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=899357

The following changes were in SVN, but were removed from git:

M	wallpapers/Air/metadata.desktop
2008-12-20 14:39:35 +00:00
Nicolas Lécureuil
c2a94f3492 Fix libcaptury URL
svn path=/trunk/KDE/kdebase/workspace/; revision=898723
2008-12-18 20:55:51 +00:00
Lucas Murray
8e6d18f7b3 Revert "Ported grid branch to a desktop effect."
I accidently committed the wrong Git branch to trunk. =\

svn path=/trunk/KDE/kdebase/workspace/; revision=897889
2008-12-17 03:14:33 +00:00
Lucas Murray
07653a50a7 Ported grid branch to a desktop effect.
Added resize functions to effect API.

svn path=/trunk/KDE/kdebase/workspace/; revision=897887
2008-12-17 03:10:41 +00:00
Lucas Murray
84c28985fb Prevent selecting of hidden windows when using the present windows
filter feature.

svn path=/trunk/KDE/kdebase/workspace/; revision=897444
2008-12-16 04:24:20 +00:00
Script Kiddy
4cba8deecd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=897218
2008-12-15 13:18:12 +00:00
Lucas Murray
c5256e6b13 If compositing is activated when windows are already open add them to
the fade effect's window list. Fixes windows not fading back in after
resetting desktop effects.
BUG: 173262

svn path=/trunk/KDE/kdebase/workspace/; revision=897048
2008-12-15 08:05:24 +00:00
Lucas Murray
d49cc078bb Fix inactive window translucency code. Also repaint the screen when
the user changes any settings.
BUG: 173793

svn path=/trunk/KDE/kdebase/workspace/; revision=897041
2008-12-15 07:02:07 +00:00
Martin Gräßlin
cda8f503ad Finally I figured out why we see artifacts from previous desktop during the stop animation when rotating the cube with mouse.
BUG: 173806

svn path=/trunk/KDE/kdebase/workspace/; revision=896950
2008-12-14 20:16:15 +00:00
Lucas Murray
763d9d8c6f Previous shadow damage commit didn't catch 100% of the events. Lets just
do it the old way but taking into account the decoration shadow sizes.

svn path=/trunk/KDE/kdebase/workspace/; revision=896765
2008-12-14 12:43:16 +00:00
Script Kiddy
af139a5a13 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=896751

The following changes were in SVN, but were removed from git:

M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
2008-12-14 12:38:46 +00:00
Lucas Murray
06aa24a750 Correctly damage the shadow area during repaint requests.
svn path=/trunk/KDE/kdebase/workspace/; revision=896705
2008-12-14 09:50:44 +00:00
Martin Gräßlin
9942e6ff0d Don't change opacity of windows during slide animation.
BUG: 177731

svn path=/trunk/KDE/kdebase/workspace/; revision=896703
2008-12-14 09:47:09 +00:00
Martin Gräßlin
6ff3a4134b Don't activate cube if there are less than two desktops.
BUG: 177714

svn path=/trunk/KDE/kdebase/workspace/; revision=896698
2008-12-14 09:24:45 +00:00
Lucas Murray
94fd94aac1 Use the correct clamping function. Patch by Philip Falkner. Hopefully
fixes some ATI glitches.
CCBUG: 177118

svn path=/trunk/KDE/kdebase/workspace/; revision=896693
2008-12-14 08:46:11 +00:00
Script Kiddy
8f954ddc55 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=896467
2008-12-13 15:33:41 +00:00
Lucas Murray
25e0799c87 Update my E-mail address.
svn path=/trunk/KDE/kdebase/workspace/; revision=896324
2008-12-13 10:11:26 +00:00
Lucas Murray
e0a4d8e5e9 Use the correct desktop layout when navigating the desktop grid with the
cursor keys.
BUG: 176498

svn path=/trunk/KDE/kdebase/workspace/; revision=896318
2008-12-13 09:20:02 +00:00
Lucas Murray
1fb0e16b47 Various deactivation fading fixes.
BUG: 176502

svn path=/trunk/KDE/kdebase/workspace/; revision=896316
2008-12-13 09:02:27 +00:00
Lucas Murray
3e5651f086 Correct use of OpenGL coords. Fixes shadow issue with small windows that
have been subdivided in other effects such as wobbly windows.
BUG: 175754

svn path=/trunk/KDE/kdebase/workspace/; revision=896300
2008-12-13 06:51:57 +00:00
Script Kiddy
98af149d85 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=896066
2008-12-12 12:35:50 +00:00
Script Kiddy
12ec1a392b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=895330

The following changes were in SVN, but were removed from git:

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Emotion/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-12-10 13:48:00 +00:00
Script Kiddy
feebf31004 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=894838
2008-12-09 12:38:04 +00:00
Rick Xing
4975618a22 add brace to avoid compiling warning of gcc
svn path=/trunk/KDE/kdebase/workspace/; revision=894172
2008-12-08 03:49:44 +00:00
Lucas Murray
1edf7d2e62 Add dim screen effect support to PolicyKit-KDE.
svn path=/trunk/KDE/kdebase/workspace/; revision=893945
2008-12-07 15:37:14 +00:00
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
Script Kiddy
fae02ff9de SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=893407
2008-12-06 15:26:49 +00:00
Martin Gräßlin
44ad9f6ca7 Make snow behind windows the default as it is much nicer.
svn path=/trunk/KDE/kdebase/workspace/; revision=893187
2008-12-06 09:12:33 +00:00
Chusslove Illich
c224805934 i18n: disambiguation contexts.
svn path=/trunk/KDE/kdebase/workspace/; revision=893089
2008-12-05 22:23:29 +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
ba9eaebb12 Use multi screen initialisation of CoverSwitch (only for no "big cube") and the reflection with a PaintClipper. This solves some painting issues of cube and multi screen setups.
svn path=/trunk/KDE/kdebase/workspace/; revision=892205
2008-12-03 19:51:41 +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
Martin Gräßlin
3150cb2631 Implement clipping of snow flakes in fragment shader. This fixes painting the flakes several times in multi screen setup as well as during active desktop grid effect. Also honour translations and scaling of the desktop and re-enabling snow during active full screen effect.
BUG: 176489

svn path=/trunk/KDE/kdebase/workspace/; revision=892202
2008-12-03 19:46:20 +00:00
Script Kiddy
bc5bd54bd1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=892099

The following changes were in SVN, but were removed from git:

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Emotion/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-12-03 14:37:06 +00:00
Martin Gräßlin
2387e701f6 Paint desktop windows only once in multi screen setups as we know that a desktop window is bound to a screen and there is one desktop window per screen.
svn path=/trunk/KDE/kdebase/workspace/; revision=891952
2008-12-03 10:56:46 +00:00
Script Kiddy
09b5e45bd4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=891616
2008-12-02 13:39:36 +00:00
Script Kiddy
2d4ef0e6bd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=891235
2008-12-01 13:06:34 +00:00
Martin Gräßlin
6576ff1d21 Also show opaque windows when opacity is set to 100%.
BUG: 173214

svn path=/trunk/KDE/kdebase/workspace/; revision=890977
2008-11-30 19:16:13 +00:00
David Nadlinger
a875c6ea23 Present Windows when there is only one window if this window is not on the current desktop.
BUG: 176499

svn path=/trunk/KDE/kdebase/workspace/; revision=890861
2008-11-30 14:51:32 +00:00
Martin Gräßlin
b9fd1e6d10 * Update the snow flakes only once per frame. This fixes the problem of faster snow flakes if there are more then one screens.
* Disable snow effect if there is an active full screen effect as it causes some problems. E.g. in desktop grid the snow flakes are painted several times and by that look terrible.
CCBUG: 176489

svn path=/trunk/KDE/kdebase/workspace/; revision=890836
2008-11-30 13:11:11 +00:00
Lucas Murray
6d3f171ce5 Fix compiling when there is no XRender libraries.
svn path=/trunk/KDE/kdebase/workspace/; revision=890434
2008-11-29 11:08:53 +00:00
Wouter Becq
059e80c15e fix compile without opengl
svn path=/trunk/KDE/kdebase/workspace/; revision=890431
2008-11-29 10:58:14 +00:00
Lucas Murray
1ad4bbfea3 Polish cover switch settings GUI. Now the inputs actually line up.
svn path=/trunk/KDE/kdebase/workspace/; revision=890411
2008-11-29 09:46:17 +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
Lucas Murray
a3d487cf92 Disable box switch animations by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=890385
2008-11-29 02:38:59 +00:00
Lucas Murray
ab330beb59 Enable box switch animations by default.
Add window fading when activating or deactivating to make it look nicer.
CCBUG: 176338

svn path=/trunk/KDE/kdebase/workspace/; revision=890199
2008-11-28 15:23:21 +00:00
Script Kiddy
09061ebbe9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=890147
2008-11-28 13:29:59 +00:00
Lucas Murray
7269b928ea Fixed incorrect shadow opacities in OpenGL mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=889944
2008-11-28 04:05:31 +00:00
Cédric Borgese
018bdfd26e Reduce wobblyness when resizing the window by locking the opposite window corner of the mouse cursor.
This greatly improve the wobbly experience when resizing.
Patch by Toby Dickenson

svn path=/trunk/KDE/kdebase/workspace/; revision=889857
2008-11-27 21:50:04 +00:00
Lucas Murray
1efa1b0376 Fix regression caused by r889761.
Also fix windows scaling off into nothingness when they do not overlap
another window.

svn path=/trunk/KDE/kdebase/workspace/; revision=889766
2008-11-27 15:11:10 +00:00
Lucas Murray
848b2a936c Fix bug where if the user filters to only a single single in the natural
layout there is no motion dynamics applied to it.

svn path=/trunk/KDE/kdebase/workspace/; revision=889761
2008-11-27 14:56:00 +00:00
Lucas Murray
117cb5719f Move repeated code into a helper function.
svn path=/trunk/KDE/kdebase/workspace/; revision=889733
2008-11-27 13:38:35 +00:00
Lucas Murray
e4d54bd4de Implement XRender shadow brightness.
svn path=/trunk/KDE/kdebase/workspace/; revision=889724
2008-11-27 13:20:26 +00:00
Script Kiddy
08b2d13fdc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=889700
2008-11-27 12:29:58 +00:00
Script Kiddy
02a8cecb2e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=889319
2008-11-26 14:02:48 +00:00
Script Kiddy
ec2dc23430 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=888883
2008-11-25 13:11:07 +00:00
Lucas Murray
7c0628f337 Reload decorations when any shadow-related settings are changed.
svn path=/trunk/KDE/kdebase/workspace/; revision=888747
2008-11-25 10:06:44 +00:00
Lucas Murray
1a97abea6d Implement and activate shadow effect settings relating to default shadow
overrides.

svn path=/trunk/KDE/kdebase/workspace/; revision=888722
2008-11-25 09:10:52 +00:00