Commit graph

6104 commits

Author SHA1 Message Date
Lucas Murray
3db33763cf Shader optimizations. Patch provided by Robin Burchell.
svn path=/trunk/KDE/kdebase/workspace/; revision=1007918
2009-08-06 13:57:09 +00:00
Luboš Luňák
0883f7eda0 Remove aborting if there's any unknown X error during kwin
startup. It dates so back in history that the KWM commit
message is completely useless and I see no point in that,
it can just needlessly make kwin abort because of a harmless
X error e.g. in libGL. Real problems should be handled
explicitly wherever they happen.


svn path=/trunk/KDE/kdebase/workspace/; revision=1007362
2009-08-05 16:19:00 +00:00
Martin Gräßlin
60ac24a2f6 Do not hardcode the menu icon size in Aurorae.
svn path=/trunk/KDE/kdebase/workspace/; revision=1007235
2009-08-05 10:56:21 +00:00
Martin Gräßlin
4cb65ad38c GHNS support for Aurorae
svn path=/trunk/KDE/kdebase/workspace/; revision=1007228
2009-08-05 10:37:24 +00:00
Martin Gräßlin
47366d5720 Reset Repaints on a Toplevel has to include the decoration shadows if used.
svn path=/trunk/KDE/kdebase/workspace/; revision=1006788
2009-08-04 12:20:33 +00:00
Script Kiddy
c125bbb9a3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1006731
2009-08-04 08:57:26 +00:00
Laurent Montel
438a581a55 Fix forward declaration
svn path=/trunk/KDE/kdebase/workspace/; revision=1006635
2009-08-04 07:23:18 +00:00
Script Kiddy
16aaab99b7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1005567
2009-08-01 10:38:12 +00:00
Christoph Feck
25a056e171 Fix preview margins
* limit to 10 pixels, regardless of what the client announces
* "old" clients have the same margins for consistency
* use KWindowSystem::compositingActive() instead of D-Bus

Reviewed by Lucas Murray

svn path=/trunk/KDE/kdebase/workspace/; revision=1005231
2009-07-31 15:38:12 +00:00
Martin Gräßlin
1b24e5bf92 When we have a shaded window we have to create the four decoration quads manually. For each deco pixmap there has to be one quad of same size.
This requires some testing and will be backported in two or three weeks.
BUG: 195593

svn path=/trunk/KDE/kdebase/workspace/; revision=1004690
2009-07-30 18:22:21 +00:00
Martin Gräßlin
1e1cf86dc7 Initialize a variable, which could be read before it has been written to in a very, very unlikely case, with a useful value.
CCBUG: 196025

svn path=/trunk/KDE/kdebase/workspace/; revision=1004621
2009-07-30 16:01:25 +00:00
Script Kiddy
4a1461ef9d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1004472

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

M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-07-30 09:23:14 +00:00
Martin Gräßlin
a305bb915f Ensure there is another repaint when wobbly windows ends.
BUG: 201244

svn path=/trunk/KDE/kdebase/workspace/; revision=1004451
2009-07-30 08:14:08 +00:00
Martin Gräßlin
8981223956 Reimplement addRepaintFull() in Client and add the padding to the repaint region.
CCBUG: 201596

svn path=/trunk/KDE/kdebase/workspace/; revision=1004121
2009-07-29 11:48:55 +00:00
Script Kiddy
e3985d49aa SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1004107
2009-07-29 11:36:58 +00:00
Martin Gräßlin
ba27d2ebb0 Copy decoration pixmaps to Deleted. By that we see the decoration also when having a fade out animation.
As this is a bigger commit I will wait with backporting to 4.3 for something about two or three weeks and will only backport if nobody yells.
BUG: 201780

svn path=/trunk/KDE/kdebase/workspace/; revision=1004096
2009-07-29 11:07:28 +00:00
Martin Gräßlin
102b3c791b EffectFrame should be freed at end of cube animation, not at start of stop animation.
svn path=/trunk/KDE/kdebase/workspace/; revision=1003585
2009-07-28 12:20:19 +00:00
Lucas Murray
9f02ea9b3a Correctly reference closed windows in the snap helper effect.
BUG: 201696

svn path=/trunk/KDE/kdebase/workspace/; revision=1003327
2009-07-28 02:22:32 +00:00
Martin Gräßlin
d32d9c4876 As KSelectionWatcher is finally working we can add a selection watcher on compositing change to update the mask and to repaint the deco.
So finally we have the shadow back when resuming. Of course it would be nice if kwin would just inform the decos and they don't have to watch for themselves ;-)

svn path=/trunk/KDE/kdebase/workspace/; revision=1003235
2009-07-27 21:30:26 +00:00
Thomas Lübking
46def0304e BUG: 167138
make opacity rules actually functional

svn path=/trunk/KDE/kdebase/workspace/; revision=1002997
2009-07-27 13:30:08 +00:00
Marco Martin
ffa58ea60d enable the animation also when the fade effect is disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1002996
2009-07-27 13:27:16 +00:00
Thomas Lübking
51c9a0bf54 BUG: 201445
fix memleak on reconfigure and avoid heap allocation while not being in
action

svn path=/trunk/KDE/kdebase/workspace/; revision=1002976
2009-07-27 12:54:02 +00:00
Michael Jansen
c58d6e1038 Use CurrentTime instead of xTime() for XUngrabKeyboard
svn path=/trunk/KDE/kdebase/workspace/; revision=1002752
2009-07-26 21:50:35 +00:00
Script Kiddy
4da5543015 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1002510
2009-07-26 09:14:55 +00:00
Script Kiddy
f39eb9cb23 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1002175
2009-07-25 10:01:02 +00:00
Martin Gräßlin
8564fca1bc Fixing a copy&paste error. Screen edges kcm should read cube settings for cube actions, not desktop grid settings.
BUG: 201362

svn path=/trunk/KDE/kdebase/workspace/; revision=1002067
2009-07-24 21:10:34 +00:00
Martin Gräßlin
807891fcb0 Initialize the padding variables. This could be the solution to the problems with non-bordered windows like KRunner and Yakuake.
Anyone experience this problem please test and report if you still have crashes.
CCBUG: 196877

svn path=/trunk/KDE/kdebase/workspace/; revision=1001997
2009-07-24 18:32:24 +00:00
Michael Zanetti
c30f25ca29 Add a full repaint after the animation
BUG: 198986

svn path=/trunk/KDE/kdebase/workspace/; revision=1001777
2009-07-24 09:03:10 +00:00
Martin Gräßlin
af108ed88f Remove default shortcuts for cylinder and sphere. The effect isn't enabled by default and cylinder and sphere are not so important that it qualifies for a default shortcut.
svn path=/trunk/KDE/kdebase/workspace/; revision=1001760
2009-07-24 07:45:49 +00:00
Marco Martin
99e23ca6f7 a new effect: windows with the atom _KDE_SLIDE set on them (composed by
a number identifying north/south/west/east and a screen coord) will
appear with a slide animation.
used for popups that come out of panels

svn path=/trunk/KDE/kdebase/workspace/; revision=1001604
2009-07-23 19:06:50 +00:00
Martin Gräßlin
abe5c4ff04 Complete rewrite of flip switch.
* no more usage of OpenGL directly. Only highlevel API (except multiscreen :-()
 * better animations by adjusting the TimeLine's curve shape
 * new configuration options for window positions
 * Usage without tabbox (also supporting electric border)
 * Effect Frame showing the window title
 * many more things I have forgotten to mention
BUG: 187761

svn path=/trunk/KDE/kdebase/workspace/; revision=1000437
2009-07-21 10:18:48 +00:00
Laurent Montel
e785ec1993 Fix signal/slot
svn path=/trunk/KDE/kdebase/workspace/; revision=1000074
2009-07-20 19:39:31 +00:00
Christoph Feck
4ca58c0386 Fix "Mouse Mark" color chooser
BUG: 200914

svn path=/trunk/KDE/kdebase/workspace/; revision=1000032
2009-07-20 18:13:20 +00:00
Christoph Feck
92edeb1fe4 Fix double margins
svn path=/trunk/KDE/kdebase/workspace/; revision=999968
2009-07-20 17:18:02 +00:00
Script Kiddy
d8a42df991 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=999876

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

M	wallpapers/Evening/metadata.desktop
2009-07-20 14:31:43 +00:00
Lucas Murray
35d1ba665f Sync missing r908463 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=999259
2009-07-19 14:47:36 +00:00
Martin Gräßlin
2b82601558 Fix linking problem with SunStudio in kwineffects.
Thanks to Jan Hnatek for noticing and providing the patch.
BUG: 199897

svn path=/trunk/KDE/kdebase/workspace/; revision=998614
2009-07-18 08:34:48 +00:00
Martin Gräßlin
bc7fa77710 Configurable text shadow for window caption in Aurorae.
svn path=/trunk/KDE/kdebase/workspace/; revision=998382
2009-07-17 14:46:03 +00:00
Martin Gräßlin
afeea76b4c Support for optional custom button width for each button type in Aurorae.
svn path=/trunk/KDE/kdebase/workspace/; revision=998257
2009-07-17 09:58:06 +00:00
Script Kiddy
fb96229d06 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=997899

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-07-16 15:58:49 +00:00
Script Kiddy
9eb3821e6a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=996576
2009-07-14 14:39:27 +00:00
Martin Gräßlin
6a58eb589d Add fadeout to closed windows in present windows effect. During fadeout other windows are moved to a better possible position.
BUG: 200084

svn path=/trunk/KDE/kdebase/workspace/; revision=996370
2009-07-14 09:06:37 +00:00
Lucas Murray
4fe4c732c0 Fix present windows alt+tab behaviour.
BUG: 198711

svn path=/trunk/KDE/kdebase/workspace/; revision=995383
2009-07-12 15:24:58 +00:00
Martin Gräßlin
670dcbfc5e Sync from oxygen: Delete the old tileset whenever a new one is created. That prevents that kwin eats more and more pixmaps.
svn path=/trunk/KDE/kdebase/workspace/; revision=995380
2009-07-12 15:20:16 +00:00
Martin Gräßlin
dc702e2e3c Delete the old tileset whenever a new one is created. That prevents that kwin eats more and more pixmaps.
svn path=/trunk/KDE/kdebase/workspace/; revision=995379
2009-07-12 15:20:07 +00:00
Script Kiddy
38e2261631 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=995355
2009-07-12 14:07:08 +00:00
Laurent Montel
d30325d924 fixuifiles
svn path=/trunk/KDE/kdebase/workspace/; revision=995255
2009-07-12 13:08:25 +00:00
Martin Gräßlin
f702221054 Rework of the multiple desktops kcm.
Now it uses a ui file which makes it easier to maintain.
It brings together all options for multiple desktops. That is:
 * number of desktops
 * pager layout
 * activity per desktop
 * desktop names
 * desktop effect for switching animation
 * OSD on desktop switch
 * Shortcuts for desktop changing

The plasma options (pager and activity) are still missing and currently disabled.
FEATURE: 129605
CCBUG: 153799

svn path=/trunk/KDE/kdebase/workspace/; revision=995230
2009-07-12 12:21:57 +00:00
Martin Gräßlin
70a4878fbb Do not calculate window mask from svg when compositing is active as it's not needed and speeds up resizing.
And correctly paint themes not providing an opaque element (which they should provide for the window mask) when compositing is not active.

svn path=/trunk/KDE/kdebase/workspace/; revision=994961
2009-07-11 16:33:51 +00:00
Martin Gräßlin
9f43aaa1e1 Don't paint deco on other screen when window is maximized
svn path=/trunk/KDE/kdebase/workspace/; revision=994960
2009-07-11 16:33:46 +00:00