Commit graph

1376 commits

Author SHA1 Message Date
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
Lucas Murray
2bb64077e7 Don't allow windows to cast shadows on screens they are not on.
BUG: 176018

svn path=/trunk/KDE/kdebase/workspace/; revision=888665
2008-11-25 02:58:28 +00:00
Lucas Murray
37f7fdacfd Added support for decoration shadows in XRender mode.
Fixed memory leak where the default shadow textures were not being
deleted when shadows are reloaded.
Renamed a few OpenGL variables so they are not as confusing.

svn path=/trunk/KDE/kdebase/workspace/; revision=888449
2008-11-24 13:52:25 +00:00
Script Kiddy
d84b5375ad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=888401

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/Flower_drops/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/Skeeter_Hawk/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-11-24 12:48:17 +00:00
Script Kiddy
e6390ab42c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=887993
2008-11-23 12:17:39 +00:00
Script Kiddy
5bc7b15bad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=887653
2008-11-22 14:38:01 +00:00
Script Kiddy
5198cc2536 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=886894

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-11-20 13:51:52 +00:00
Script Kiddy
afe4f9c0e0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=886543
2008-11-19 14:25:52 +00:00
Lucas Murray
3a57e33bf6 Fixed bug where some windows were not raised when they were moved.
Fixed possible bug when the moving window is deleted.

svn path=/trunk/KDE/kdebase/workspace/; revision=886399
2008-11-19 07:46:01 +00:00
Lucas Murray
f11107c987 Don't create an input window if there is no windows.
BUG: 175541

svn path=/trunk/KDE/kdebase/workspace/; revision=886374
2008-11-19 03:41:38 +00:00
Script Kiddy
af074404c8 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=886131

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/Golden_Ripples/metadata.desktop
2008-11-18 16:15:42 +00:00
Lucas Murray
20605ddca1 Mark the slide plugin as being a fullscreen effect.
CCBUG: 167928

svn path=/trunk/KDE/kdebase/workspace/; revision=886018
2008-11-18 13:36:34 +00:00
Martin Gräßlin
8c09fbc62a Disable blur effect when there is an active fullscreen effect. This makes cube & co. work if blur is enabled. It's a hack and the real reason why the problem occurs should be searched for. (I totally forgot to commit this patch)
BUG: 167928

svn path=/trunk/KDE/kdebase/workspace/; revision=885931
2008-11-18 08:20:37 +00:00
Stephan Binner
7929582374 i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=885677
2008-11-17 18:35:18 +00:00
Lucas Murray
6d41a1320e Moved all debug, warning and error messages into the KWin 1212 area.
Replaced deprecated kdDebug() with kDebug().
Removed empty debug messages.

svn path=/trunk/KDE/kdebase/workspace/; revision=885620
2008-11-17 15:04:52 +00:00
Guillaume Pothier
f780e8b68b Kephalized plasma and kwin: replaced usage of QDesktopWidget by Kephal
svn path=/trunk/KDE/kdebase/workspace/; revision=884482
2008-11-15 03:04:44 +00:00
Martin Gräßlin
e1d4d50cd6 Some more optimizations to snow effect:
* move position updates of flakes to shader
* remove the for-loop which updates the flakes. This is handled in the loop for painting the flakes
* Don't test in each frame if a flake is on the screen. Precalculate the number of frames when then flake is on the screen and count the flakes.
* Set PAINT_SCREEN_TRANSFORMED
* Remove all unneeded code (like a QTime object when we already get the time in the method)

Now it takes ~ 17 % of CPU usage on my system. Seems to be the maximum of what is possible.

svn path=/trunk/KDE/kdebase/workspace/; revision=884305
2008-11-14 16:18:34 +00:00
Martin Gräßlin
8ecaefebcc Adding optional shader to snow effect. Shader is used when hardware support is available.
Using shader reduces CPU load from approximately 50 % to less than 20 % on my system.

svn path=/trunk/KDE/kdebase/workspace/; revision=883348
2008-11-12 18:38:36 +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
Script Kiddy
21e596dcf8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=882834

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

M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2008-11-11 13:06:11 +00:00
Martin Gräßlin
9f96d84a12 Option to snow behind windows and small performance improvement by using a glList
svn path=/trunk/KDE/kdebase/workspace/; revision=882720
2008-11-11 11:31:12 +00:00
Script Kiddy
98b787c75b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=882521
2008-11-10 21:24:38 +00:00
Script Kiddy
ac2ec9e4d4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=881803
2008-11-08 23:47:39 +00:00
Script Kiddy
1e620b0705 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=881079
2008-11-07 12:47:36 +00:00
Lucas Murray
fcb97626b0 Fix compiling error if OpenGL headers are unavailable. Patch by Simon St
James.

svn path=/trunk/KDE/kdebase/workspace/; revision=880985
2008-11-07 02:18:31 +00:00
Lucas Murray
75036cf270 Converted shadow config dialog to .ui
Added dummy options to get them in before string freeze.

svn path=/trunk/KDE/kdebase/workspace/; revision=880730
2008-11-06 10:48:13 +00:00
Martin Gräßlin
585addb450 Add a widget to assign an effect to screen edges in the kwincompositing dialog.
Remove the previous configuration for assigning screen edges from the config dialogs of the single effects.

svn path=/trunk/KDE/kdebase/workspace/; revision=880728
2008-11-06 10:42:36 +00:00
Script Kiddy
7eee3c55d5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=880428
2008-11-05 13:34:33 +00:00
Script Kiddy
2da136dbe4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=879567
2008-11-03 12:51:32 +00:00
Albert Astals Cid
9c529cce52 add context
svn path=/trunk/KDE/kdebase/workspace/; revision=879207
2008-11-02 17:39:23 +00:00
Script Kiddy
6649c416c1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=879117

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

M	wallpapers/Leafs_Labyrinth/metadata.desktop
2008-11-02 13:16:59 +00:00
Lucas Murray
6aad669e71 Clamp shadow textures, prevents faint lines from appearing around windows.
Reimplement default shadow colours.

svn path=/trunk/KDE/kdebase/workspace/; revision=878640
2008-11-01 14:41:42 +00:00
Lucas Murray
a7d883cc5d Make Oxygen not advertise support for shadow types that it does not yet.
Fallback to default shadows if the decoration doesn't support a certain type.

svn path=/trunk/KDE/kdebase/workspace/; revision=878627
2008-11-01 14:24:20 +00:00
Albert Astals Cid
ac02cafa87 Add some context for translators
svn path=/trunk/KDE/kdebase/workspace/; revision=878368
2008-11-01 00:01:46 +00:00
Martin Gräßlin
8f66f80789 Do not test for GLRenderTarget as it is not used.
CCMAIL: l.lunak@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=877398
2008-10-29 12:50:26 +00:00
Script Kiddy
86bb3308c9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=876968

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

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-10-28 12:52:47 +00:00
Urs Wolfer
4503d628a6 optimizegraphics: Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4".
Reduced disk space: 3384KB (3MB)

svn path=/trunk/KDE/kdebase/workspace/; revision=876104

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

M	wallpapers/Blue_Curl/contents/screenshot.png
M	wallpapers/Flower_drops/contents/screenshot.png
M	wallpapers/Vector_Sunset/contents/screenshot.png
2008-10-26 14:11:34 +00:00
Lucas Murray
41cb8b3c86 Draw queued shadows in window stacking order.
BUG: 172756

svn path=/trunk/KDE/kdebase/workspace/; revision=875189
2008-10-23 15:34:05 +00:00
Martin Gräßlin
78131acff8 Also honour zTranslate and RotationData in Shadow
svn path=/trunk/KDE/kdebase/workspace/; revision=875095
2008-10-23 10:16:07 +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
Lucas Murray
a44a34bb3e Fix window switching mode of present windows not displaying the contents of minimized windows when "ignore minimized" is enabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=874297
2008-10-21 07:27:19 +00:00
Lucas Murray
9f8df08268 Added option to hide minimized windows in the present windows effect. Patch by Bart Cerneels.
svn path=/trunk/KDE/kdebase/workspace/; revision=874292
2008-10-21 07:15:35 +00:00
Script Kiddy
e902abfce1 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=873942

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

M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
2008-10-20 11:47:20 +00:00
Lucas Murray
42d1a1fe6c Implement shadow brightness.
svn path=/trunk/KDE/kdebase/workspace/; revision=873488
2008-10-19 15:06:36 +00:00
Lucas Murray
154c19b0e7 Make the client shadowOpacity() return a relative opacity instead of absolute.
svn path=/trunk/KDE/kdebase/workspace/; revision=873440
2008-10-19 13:43:16 +00:00
Script Kiddy
a9d2f462de SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=873435
2008-10-19 13:39:44 +00:00
Lucas Murray
386d5302bc SVN_SILENT Minor GUI change to the transparency effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=873282
2008-10-19 10:05:09 +00:00
Lucas Murray
e604a5214c Touch-up cube, sphere and cylinder panel GUIs.
Fixed direct rendering label.

svn path=/trunk/KDE/kdebase/workspace/; revision=873233
2008-10-19 05:55:36 +00:00
Lucas Murray
6152c37c77 Use grid layouts instead of form layouts.
svn path=/trunk/KDE/kdebase/workspace/; revision=872999
2008-10-18 13:50:32 +00:00
Lucas Murray
63ed33a219 GUI touch-ups, tab fixes and other pretty stuff.
svn path=/trunk/KDE/kdebase/workspace/; revision=872862
2008-10-18 11:34:54 +00:00
Lucas Murray
c07ba30b63 Fixed shadow effect losing its shadows after making changes to the settings.
Added force mode to buildQuads() to allow refreshing the cache.
Made EffectWindow::buildQuads() no longer internal.

svn path=/trunk/KDE/kdebase/workspace/; revision=872836
2008-10-18 10:31:59 +00:00
Lucas Murray
b969ba71b7 Make the default shadow look like what it's supposed to.
svn path=/trunk/KDE/kdebase/workspace/; revision=872835
2008-10-18 10:31:51 +00:00
Lucas Murray
2672bd1ead Fixed texture coordinate direction.
svn path=/trunk/KDE/kdebase/workspace/; revision=872646
2008-10-17 18:18:06 +00:00
Lucas Murray
7597ce484e Prevent XRender mode from crashing when shadows are enabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=872475
2008-10-17 10:30:58 +00:00
Lucas Murray
0442bcf1f7 Increment effect API version.
Added Martin and myself to the shadow effect copyright header.

svn path=/trunk/KDE/kdebase/workspace/; revision=872474
2008-10-17 10:30:52 +00:00
Lucas Murray
899d578c49 Merge Libkdecoration2 Git branch.
WARNING: Breaks shadow effect. I don't think it causes anything to crash anymore but it is VERY ugly visually.

Contains:
 - New decoration API that allows decorations to change the way shadows look.
 - Shadows now wobble.
 - API example code in the Oxygen decoration.
 - Added buildQuads() effect plugin hook.
 - Work on the shadow effect to use the new decoration shadow API as well.
 - Added IDs to WindowQuads.
 - Added public accessors to texture coords in WindowVertex.

Would like all this to be reviewed.

CCMAIL: kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=872473
2008-10-17 10:30:43 +00:00
Script Kiddy
fc3eb0d25c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=871717
2008-10-15 12:18:04 +00:00
Lucas Murray
d2f83ab8f7 Fix fading of minimized windows when deactivating the present windows effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=871588
2008-10-15 08:23:52 +00:00
Luboš Luňák
c12172d291 A hack to disable unredirect for login splashscreen, better solution would
be to add support for effects refcounting the window.
BUG: 172276


svn path=/trunk/KDE/kdebase/workspace/; revision=871255
2008-10-14 10:34:35 +00:00
Script Kiddy
66f91caaf7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=870884

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

M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
2008-10-13 11:35:37 +00:00
Lucas Murray
4982bb9909 Added improvements to the snow effect. Patch by Torgny Johansson.
svn path=/trunk/KDE/kdebase/workspace/; revision=870683
2008-10-13 03:29:07 +00:00
Script Kiddy
6fd28f8260 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=870301

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

M	wallpapers/Emotion/metadata.desktop
2008-10-12 11:04:37 +00:00
Albert Astals Cid
882b909364 Add const & so we don't copy all that objects for nothing, faster effects for free!
svn path=/trunk/KDE/kdebase/workspace/; revision=869928
2008-10-11 12:38:46 +00:00
Lucas Murray
58b7eb858c Added reconfigure() to dialog parent effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=869465
2008-10-09 05:33:57 +00:00
Lucas Murray
2f010abe87 Added reconfigure() to slide effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=869464
2008-10-09 05:31:04 +00:00
Script Kiddy
0092859ce6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=869163
2008-10-08 11:42:38 +00:00
Script Kiddy
2e6e9f8ce4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=868844
2008-10-07 10:50:09 +00:00
Lucas Murray
00be8ac834 SVN_SILENT Doubles are doubles, ints are ints.
svn path=/trunk/KDE/kdebase/workspace/; revision=868514
2008-10-06 12:16:36 +00:00
Script Kiddy
299795682c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=868492
2008-10-06 11:01:23 +00:00
Martin Gräßlin
fcbe7cb7d9 Loading configuration should be done in reconfigure.
svn path=/trunk/KDE/kdebase/workspace/; revision=868086
2008-10-05 12:18:44 +00:00
Martin Gräßlin
a509d97094 Add animation to boxswitch effect. Animation is default off. If turned on the highlight is in the center of the box and the thumbnails are moved on alt+tab so that the currently selected window will be in the center.
svn path=/trunk/KDE/kdebase/workspace/; revision=868067
2008-10-05 11:41:15 +00:00
Script Kiddy
e8e8ecdc4d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=867760
2008-10-04 12:54:41 +00:00
Lucas Murray
912d458110 Fix cylinder and sphere fragment shader. Opacities are already pre-multiplied.
svn path=/trunk/KDE/kdebase/workspace/; revision=867666
2008-10-04 06:20:22 +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
Luboš Luňák
a0798dbe6c const
svn path=/trunk/KDE/kdebase/workspace/; revision=866898
2008-10-02 08:13:25 +00:00
Lucas Murray
b7122a91b1 Prevent crash when cancelling present windows when no window is highlighted.
Prevent the tab key from being added to the filter.
BUG: 171951

svn path=/trunk/KDE/kdebase/workspace/; revision=866566
2008-10-01 10:45:20 +00:00
Luboš Luňák
e2598cbd22 Patch from Will Stephenson to use 'translucency' consistently and some tweaks.
svn path=/trunk/KDE/kdebase/workspace/; revision=865928
2008-09-29 13:33:58 +00:00
Script Kiddy
a6c023ee84 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=865874

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-09-29 11:19:40 +00:00
Lucas Murray
68d958c237 Added reset methods to WindowMotionManager.
Fixed bug in present windows when if there is only one window on a Xinerama screen it is zoomed into nothingness when using the natural layout.
CCBUG: 171812

svn path=/trunk/KDE/kdebase/workspace/; revision=865798
2008-09-29 02:25:02 +00:00
Script Kiddy
8853f96c3f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=865605
2008-09-28 11:19:57 +00:00
Script Kiddy
1f5accded5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=865371
2008-09-27 12:15:19 +00:00
Lucas Murray
4430053ef8 Removed incomplete filters and changed the defaults in wobbly windows as suggested by Cedric.
CCMAIL: cedric.borgese@gmail.com

svn path=/trunk/KDE/kdebase/workspace/; revision=864934
2008-09-26 05:27:57 +00:00
Script Kiddy
19f400578f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=864751
2008-09-25 12:24:47 +00:00
Lucas Murray
db8e8365da Prevent present windows from storing data for a NULL window.
CCBUG: 171593

svn path=/trunk/KDE/kdebase/workspace/; revision=864365
2008-09-24 15:53:08 +00:00
Script Kiddy
388b8a9f9b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=864278

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

M	wallpapers/Leafs_Labyrinth/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-09-24 11:58:25 +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
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
Script Kiddy
2cac0dd4e8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=863855

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

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-09-23 11:24:55 +00:00
Lucas Murray
7f690db225 Correct fix to prevent present windows from crashing.
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/workspace/; revision=863746
2008-09-23 03:16:36 +00:00
Martin Gräßlin
e353af4844 Prevent crashing when a window is closed.
CCMAIL: <lmurray@undefinedfire.com>

svn path=/trunk/KDE/kdebase/workspace/; revision=863593
2008-09-22 16:13:20 +00:00
Lucas Murray
0da2ce5a2e Incremented present windows version number.
svn path=/trunk/KDE/kdebase/workspace/; revision=863563
2008-09-22 13:06:47 +00:00
Lucas Murray
51aef64cd7 Added motion dynamic physics helper classes to the KWin effects API. These
classes are intended to be used to help effect authors move windows across
the screen smoothly and naturally.

Although not 100% complete the classes can be used for 2D operations in its
current state, an example of which is the included present windows update.
These classes can be expanded upon when the new modifiers are required.

I would like a generic, template-based motion manager class that can be used
for non-window objects as well as another 3D-enabled manager to be available
sometime in the future.

CCMAIL: kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=863561
2008-09-22 13:03:00 +00:00
Script Kiddy
45a528a01e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=863511
2008-09-22 10:45:45 +00:00
Script Kiddy
2a6e11fc59 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=863150
2008-09-21 10:57:59 +00:00
Script Kiddy
31d3681778 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=862926
2008-09-20 12:06:15 +00:00
Script Kiddy
0ebad0b710 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=862575
2008-09-19 10:39:40 +00:00
Luboš Luňák
d0c1f5dd62 Disable shadow with effects that transform windows, such as wobbly,
since shadow currently can't handle that.
CCBUG: 161330


svn path=/trunk/KDE/kdebase/workspace/; revision=862309
2008-09-18 15:26:17 +00:00
Script Kiddy
8818d79e52 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=862263
2008-09-18 11:04:36 +00:00
Luboš Luňák
08571b2f52 Do not use 'assert( false )', with NDEBUG that is a no-op and
results in warnings about missing return.


svn path=/trunk/KDE/kdebase/workspace/; revision=861879
2008-09-17 11:44:51 +00:00
Lucas Murray
a3e834fb99 Reorganized effect categories.
svn path=/trunk/KDE/kdebase/workspace/; revision=861851
2008-09-17 10:36:28 +00:00
Lucas Murray
034e66ae96 Randomize direction even when filling gaps, fixes bug when all windows are the same size.
svn path=/trunk/KDE/kdebase/workspace/; revision=861791
2008-09-17 08:19:16 +00:00
Script Kiddy
2403ceabda SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=861509

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

M	wallpapers/Blue_Curl/metadata.desktop
2008-09-16 11:34:46 +00:00
Lucas Murray
b7ddc7c0fa Standardize effect descriptions and made them more descriptive.
svn path=/trunk/KDE/kdebase/workspace/; revision=861506
2008-09-16 11:25:15 +00:00
Laurent Montel
9de9871c3b Not necessary to use a QGridLayout when we have just one widget
svn path=/trunk/KDE/kdebase/workspace/; revision=861453
2008-09-16 07:41:39 +00:00
Laurent Montel
bfc96a8630 If path is empty use documentpath
svn path=/trunk/KDE/kdebase/workspace/; revision=861450
2008-09-16 07:29:05 +00:00
Script Kiddy
e500e37abb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=859075

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

M	wallpapers/Colorado_Farm/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/Green_Concentration/metadata.desktop
M	wallpapers/Leafs_Labyrinth/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-09-09 10:49:24 +00:00
Script Kiddy
ac3eb48dcf SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=858675
2008-09-08 12:16:09 +00:00
Script Kiddy
50e379780f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=858087
2008-09-07 10:56:32 +00:00
Lucas Murray
3bba140b8c Added "advanced mode" to wobbly windows settings.
svn path=/trunk/KDE/kdebase/workspace/; revision=857830
2008-09-06 14:50:02 +00:00
Script Kiddy
73f97db976 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=857775
2008-09-06 12:15:37 +00:00
Lucas Murray
8d6746087e Added option to not elevate selected window in box switch.
svn path=/trunk/KDE/kdebase/workspace/; revision=857724
2008-09-06 09:58:49 +00:00
Lucas Murray
ac3ac459e8 Fixed type and slightly increased fade time.
svn path=/trunk/KDE/kdebase/workspace/; revision=857700
2008-09-06 07:22:25 +00:00
Lucas Murray
1e4b9efdd4 Added background window opacity setting to box switch.
BUG: 165300

svn path=/trunk/KDE/kdebase/workspace/; revision=857409
2008-09-05 10:48:18 +00:00
Script Kiddy
6a0783e996 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=857407
2008-09-05 10:47:16 +00:00
Lucas Murray
07fb6c6f38 Added option to dim the desktop with the dim inactive effect.
BUG: 152773

svn path=/trunk/KDE/kdebase/workspace/; revision=857307
2008-09-05 09:01:44 +00:00
Lucas Murray
36977673b3 Don't make excessive animationTimer() calls.
svn path=/trunk/KDE/kdebase/workspace/; revision=857091
2008-09-04 16:59:14 +00:00
Lucas Murray
0e84aec582 Setting to disable wobbly windows for resizes or moves separately.
BUG: 167564

svn path=/trunk/KDE/kdebase/workspace/; revision=857060
2008-09-04 15:09:22 +00:00
Lucas Murray
269242303f Added automatic layout mode to the desktop grid effect. Patch based off one by Christian Mollekopf.
BUG: 157196

svn path=/trunk/KDE/kdebase/workspace/; revision=857049
2008-09-04 14:37:07 +00:00
Lucas Murray
e992879263 Don't display utility windows in present windows as well, that should be everything.
BUG: 152341

svn path=/trunk/KDE/kdebase/workspace/; revision=855832
2008-09-01 15:04:41 +00:00
Lucas Murray
4064401382 Don't apply the scale in effect to utility windows either.
CCBUG: 170174

svn path=/trunk/KDE/kdebase/workspace/; revision=855784
2008-09-01 12:55:41 +00:00
Lucas Murray
bda01b849c Don't apply the fade effect to utility windows.
BUG: 170174

svn path=/trunk/KDE/kdebase/workspace/; revision=855728
2008-09-01 10:54:50 +00:00
Script Kiddy
1aacc6b423 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=855245
2008-08-31 11:23:35 +00:00
Script Kiddy
28e08082d2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=854820
2008-08-30 11:50:00 +00:00
Luboš Luňák
06e9798bbe Animation time 500ms->300ms, half a second is too much.
svn path=/trunk/KDE/kdebase/workspace/; revision=854692
2008-08-30 07:28:05 +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
Luboš Luňák
d3bc4b05d5 QSpinBox step of 1 with pixels is not really convenient.
svn path=/trunk/KDE/kdebase/workspace/; revision=854684
2008-08-30 06:52:10 +00:00
Luboš Luňák
8e5f95a9d6 Make a more explicit distinction between using normalized and non-normalized
texture coordinates - it cost me hours to find out why something was misdrawing :(.


svn path=/trunk/KDE/kdebase/workspace/; revision=854546
2008-08-29 18:54:28 +00:00
Martin Gräßlin
95c30f158f Cube/Cylinder/Sphere can be used for "walk through desktop" functionality. This new mode has to be enabled in the settings. Default is off. Mouse functionality is disabled in this tab box mode.
CCBUG: 169888

svn path=/trunk/KDE/kdebase/workspace/; revision=854275
2008-08-29 09:22:36 +00:00
Martin Gräßlin
7e3c351ddf Reworked UI for sphere configuration. Based on rework of cube config (r853730).
Adding slider to configure the sphere cap deformation.

svn path=/trunk/KDE/kdebase/workspace/; revision=853745
2008-08-28 08:36:46 +00:00
Martin Gräßlin
9235ea4f82 Reworked UI for cylinder configuration. Based on rework of cube config (r853730).
svn path=/trunk/KDE/kdebase/workspace/; revision=853738
2008-08-28 08:02:12 +00:00
Martin Gräßlin
c6cac7dde5 Reworked the UI for cube configuration. There are two tabs (basic and advanced) now and the whole UI is more clearly arranged.
svn path=/trunk/KDE/kdebase/workspace/; revision=853730
2008-08-28 07:42:52 +00:00
Martin Gräßlin
1e1b0ef7c6 Added sphere cap deformations. This is influenced by config parameter "CapDeformation" (no UI yet) which ranges from 0 (sphere) to 100 (flat). Default is sphere.
CCMAIL: <lmurray@undefinedfire.com>

svn path=/trunk/KDE/kdebase/workspace/; revision=853464
2008-08-27 19:02:14 +00:00
Script Kiddy
9751da77f8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=853252
2008-08-27 12:41:04 +00:00
Lucas Murray
9a52d3c709 Added feature to only invert the colours of selected windows
Fixed shader alpha blending
CCMAIL: kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=853224
2008-08-27 12:20:34 +00:00
Lucas Murray
faf7477fdb Force window switching mode to use the regular grid as well as putting all windows on the same screen if using a multi-monitor system. Also fixed the incorrectly highlighted window when window switching is first activated.
svn path=/trunk/KDE/kdebase/workspace/; revision=853112
2008-08-27 08:29:09 +00:00
Lucas Murray
7ce5cea00d Allow clicking of windows when in window switching mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=852767
2008-08-26 14:41:26 +00:00
Lucas Murray
14dd4db702 Rearrange when a new window is displayed.
svn path=/trunk/KDE/kdebase/workspace/; revision=852749
2008-08-26 14:06:09 +00:00
Script Kiddy
a9a4ca7db5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=852518
2008-08-25 23:01:08 +00:00
Martin Gräßlin
64dc9b1be6 Make cylinder and sphere work with multi screen setup. Span on all screens is only option as scaling on one screen results in abstract art. So the option is removed from config dialog.
svn path=/trunk/KDE/kdebase/workspace/; revision=852200
2008-08-25 14:12:12 +00:00
Lucas Murray
255889ca65 FEATURE: Two new layout modes for the present windows effect
BUG: Keyboard operation now works correctly in present windows on multi-monitor setups

svn path=/trunk/KDE/kdebase/workspace/; revision=852066
2008-08-25 09:17:15 +00:00
Martin Gräßlin
a59111148c Cube & co becomes zoomable (usage: + and -). Adding also a config option to define the default zoom.
svn path=/trunk/KDE/kdebase/workspace/; revision=852059
2008-08-25 08:19:39 +00:00
Martin Gräßlin
c67256e037 Option for Compiz like mouse dragging in cube effects. That is cube is closed on release of mouse button. Option is disabled by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=851485
2008-08-23 20:10:01 +00:00
Lucas Murray
31cc37e089 Switched over duration counters to the TimeLine class.
svn path=/trunk/KDE/kdebase/workspace/; revision=850953
2008-08-22 16:25:40 +00:00
Martin Gräßlin
5fff9923ec Magiclamp supports now panels which are not positioned at the bottom of the screen.
svn path=/trunk/KDE/kdebase/workspace/; revision=850763
2008-08-22 09:40:46 +00:00
Albert Astals Cid
817977f2e0 HIG fixes from our usability overlady
I'm commiting them because they seem quite straighforward fixes

If anyone disagrees please comment to Celeste so we can have a more refined HIG

CCMAIL: celeste@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=849678
2008-08-19 22:06:15 +00:00
Script Kiddy
1608a1f918 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=849357
2008-08-19 11:51:07 +00:00
Script Kiddy
4725aee74d SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=848738
2008-08-18 11:02:41 +00:00
Martin Gräßlin
3341354228 Adding test if cylinder and sphere effects are supported by the hardware, so that they can't be activated if not supported.
svn path=/trunk/KDE/kdebase/workspace/; revision=848633
2008-08-18 09:52:33 +00:00
Martin Gräßlin
d5be0f8da5 - limit the number of left/right rotations. Cube will not rotate endless if cursor keys are being pressed
- fix vertical mouse movement

svn path=/trunk/KDE/kdebase/workspace/; revision=848624
2008-08-18 09:39:48 +00:00
Martin Gräßlin
a09f473662 We should reload cylinder/sphere and not cube if there have been changes.
svn path=/trunk/KDE/kdebase/workspace/; revision=848421
2008-08-17 17:03:55 +00:00