Commit graph

982 commits

Author SHA1 Message Date
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