Commit graph

6408 commits

Author SHA1 Message Date
Huynh Huu Long
345d6f7a7c Increase the clickable area without changing the visible border
(which essentially means that the shadow can be used to resize the window)

svn path=/trunk/KDE/kdebase/workspace/; revision=1009001
2009-08-08 21:53:34 +00:00
Andrew Lake
8009b5ae9c Reduce minimum bottom border size to look proportional to sides when size >= Normal.
Bottom corner rounding is unaffected.

svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1008903
2009-08-08 16:12:00 +00:00
Andrew Lake
eb7566eeb7 Reduce minimum bottom border size to look proportional to sides when size >= Normal. Bottom corner rounding is unaffected.
svn path=/trunk/KDE/kdebase/workspace/; revision=1008893
2009-08-08 15:36:40 +00:00
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
dcd0ff48a9 Backport:
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=/branches/KDE/4.3/kdebase/workspace/; revision=1007364
2009-08-05 16:21:00 +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
4b2ec25dec Fix preview margins (backport r1005231)
svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1005232
2009-07-31 15:40:03 +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
90b7e5ee4c Backport r1004451: Ensure there is another repaint when wobbly windows ends.
CCBUG: 201244

svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1004452
2009-07-30 08:16:02 +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
5d19671835 Backport r1002976 by luebking:
Fix memory leak and avoid wasteful memory allocation while the effect is
not in use.
CCBUG: 201445

svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1003554
2009-07-28 10:34:02 +00:00
Lucas Murray
9b555fc201 Backport r1003327:
Correctly reference closed windows in the snap helper effect.
CCBUG: 201696

svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1003328
2009-07-28 02:24:08 +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
Script Kiddy
3067415f88 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1002814
2009-07-27 03:14:06 +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
75c5074187 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1002464
2009-07-26 03:04:31 +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
Script Kiddy
f25d7b744d SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1002115
2009-07-25 03:19:47 +00:00
Martin Gräßlin
5617c815d2 Backport rev 1002067: Fixing a copy&paste error. Screen edges kcm should read cube settings for cube actions, not desktop grid settings.
CCBUG: 201362


svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1002069
2009-07-24 21:12:13 +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
be1f18ab35 Backport rev 1001997: Initialize the padding variables. This could be the solution to the problems with non-bordered windows like KRunner and Yakuake.
CCBUG: 196877


svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1001998
2009-07-24 18:35:06 +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
a077770465 backport of bugfix commit 1001777.
Adds a full repaint after the animation is finished.


svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1001781
2009-07-24 09:09:45 +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
dd4ac7a947 Backport rev 1001760: 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=/branches/KDE/4.3/kdebase/workspace/; revision=1001761
2009-07-24 07:49:03 +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
Script Kiddy
1ccbe87438 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1000871

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

M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-07-22 09:13:46 +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
800911d1f2 Fix "Mouse Mark" color chooser (backport r1000032)
CCBUG: 200914

svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1000036
2009-07-20 18:15:49 +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