Commit graph

5603 commits

Author SHA1 Message Date
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
71cdab755e Change motion dynamics algorithm and class structure. Animations are now
smoother and less "bouncy" than before and produce the same result at
any framerate. The Motion1D and Motion2D classes are now available and
replace the Motion<T> template for external use.

svn path=/trunk/KDE/kdebase/workspace/; revision=921104
2009-02-04 15:10:20 +00:00
Lucas Murray
cbea219964 Missing code from mouse polling commit. Stop polling when compositing is
disabled and increment the effect API version number.

svn path=/trunk/KDE/kdebase/workspace/; revision=920963
2009-02-04 07:09:47 +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
Friedrich W. H. Kossebau
9e9c18796f make const-to-be arrays (of pointers) const and non-variable
svn path=/trunk/KDE/kdebase/workspace/; revision=920918
2009-02-04 01:11:19 +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
Luboš Luňák
ed42331c2e Testapp to show all icons provided by a window.
svn path=/trunk/KDE/kdebase/workspace/; revision=918189
2009-01-29 15:11:17 +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
2e42deec73 When the user lowers the active window with a mouse action also
automatically focus the next available window.
BUG: 182146

svn path=/trunk/KDE/kdebase/workspace/; revision=917649
2009-01-28 10:30:44 +00:00
Lucas Murray
f9f4d916e4 When the user lowers the active window with a shortcut automatically
focus the next available window.
BUG: 182146

svn path=/trunk/KDE/kdebase/workspace/; revision=917644
2009-01-28 10:03:37 +00:00
Luboš Luňák
f760d36881 Fix buttons, patch by Knut Johansson <knutmj@online.no>.
svn path=/trunk/KDE/kdebase/workspace/; revision=913430
2009-01-19 11:51:46 +00:00
Luboš Luňák
42beacc8f1 Fix buttons, patch by Knut Johansson <knutmj@online.no>.
svn path=/trunk/KDE/kdebase/workspace/; revision=913425
2009-01-19 11:40:45 +00:00
Luboš Luňák
50ebf9e099 Use new icons.
svn path=/trunk/KDE/kdebase/workspace/; revision=911411
2009-01-15 12:54:15 +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
Lucas Murray
d8f46c3974 Add 4px padding between the title text and the stripes so that it
doesn't look so cramped.

svn path=/trunk/KDE/kdebase/workspace/; revision=911207
2009-01-15 02:03:50 +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
Guillaume Pothier
b362b980cb Fixed many Kephal bugs.
BUG: 173017

svn path=/trunk/KDE/kdebase/workspace/; revision=910287
2009-01-12 23:45:03 +00:00
David Johnson
f827f1db97 Fix drawing of block; window frame
svn path=/trunk/KDE/kdebase/workspace/; revision=908666
2009-01-10 05:18:51 +00:00
Huynh Huu Long
91145d2ec8 Add another redo of windeco buttons
svn path=/trunk/KDE/kdebase/workspace/; revision=908463
2009-01-09 18:51:22 +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
Luboš Luňák
edcd0112fa Allow minimizing of modal dialogs, simply meaning that their main window
will be minimized too. Also don't disable the minimize animation for the dialog.
(bnc#431378)


svn path=/trunk/KDE/kdebase/workspace/; revision=908237
2009-01-09 14:07:03 +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