Commit graph

5272 commits

Author SHA1 Message Date
Lucas Murray
bb248387d8 Fixed tab order and size of the advanced compositing settings dialog.
svn path=/trunk/KDE/kdebase/workspace/; revision=872843
2008-10-18 10:42:22 +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
5cb4d3f0ec Swap bottom and top shadow textures to match the texture coords.
svn path=/trunk/KDE/kdebase/workspace/; revision=872817
2008-10-18 09:37:32 +00:00
Lucas Murray
b0e5cabe8b Revert "Sync r872473 from oxygen." (r872702)
Resync after Oxygen have finished adding the shadow code. Having to maintain both Oxygen and Ozone at the same time with incomplete code is a waste of time.

svn path=/trunk/KDE/kdebase/workspace/; revision=872813
2008-10-18 09:33:17 +00:00
Lucas Murray
af1b639a9d Rename the new decoration API and mark it as unstable. Supporting a hacked API is suicide.
Will correctly handle this in KDE 4.3 by using ARGB decorations, even if it's not pretty.

svn path=/trunk/KDE/kdebase/workspace/; revision=872795
2008-10-18 08:10:37 +00:00
Luboš Luňák
13398a1671 Sync r872473 from oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=872702
2008-10-17 21:13:12 +00:00
Luboš Luňák
87bb545de4 Sync r872210 from oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=872701
2008-10-17 21:11:07 +00:00
Luboš Luňák
8f3441c7e2 Sync r869205 from oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=872700
2008-10-17 21:10:04 +00:00
Luboš Luňák
ef10f9572a Sync r866059 from oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=872693
2008-10-17 20:55:35 +00:00
Luboš Luňák
dcd479726b Sync r865738 from oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=872691
2008-10-17 20:54:43 +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
bdd1da759f --Usability + 1
Having a single left-aligned element makes things look lopsided.

svn path=/trunk/KDE/kdebase/workspace/; revision=872584
2008-10-17 14:16:28 +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
Huynh Huu Long
844f815ff8 Add shade and unshade buttons
BUG: 166887

svn path=/trunk/KDE/kdebase/workspace/; revision=872210
2008-10-16 16:13:18 +00:00
Luboš Luňák
ecfaf59014 I forgot to actually enable compositing by default for some cards listed
on the HW techbase page, do so for intel Gxx cards, radeon r200 and fglrx.


svn path=/trunk/KDE/kdebase/workspace/; revision=871764
2008-10-15 14:10:43 +00:00
Luboš Luňák
5a7557fc6f Force OpenGL compositing to be off if OpenGL rendering is done in software
(second X session with Intel).


svn path=/trunk/KDE/kdebase/workspace/; revision=871752
2008-10-15 13:41:53 +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
Davide Bettio
ae957480a0 usability++
see "kwin's KCM usability" mail.

svn path=/trunk/KDE/kdebase/workspace/; revision=871309
2008-10-14 13:23:50 +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
Hasso Tepper
b19ba265f6 Fix compile on systems without XComposite.
svn path=/trunk/KDE/kdebase/workspace/; revision=870784
2008-10-13 09:56:13 +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
Huynh Huu Long
5b9067fb84 Add an option to change the alignment of the window title
BUG: 172076

svn path=/trunk/KDE/kdebase/workspace/; revision=869205
2008-10-08 13:42:24 +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
Lucas Murray
8f3433bac3 HACK: Temporarily disable opaque-/translucent-only painting until the cause of the glitching is found. Due to a logic error this code has never actually been executed.
CCMAIL: kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=867857
2008-10-04 17:36:26 +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
Aaron J. Seigo
893c2c4c1d * we don't have kdesktop around in kde4, so don't bother with its config file
* kwin doesn't seem to have a top level menu display impl anymore; we have a non-working one in playground for plasma, but that hardly counts; since this is breaking things for people upgrading, disable the setting until we get this sorted out properly

svn path=/trunk/KDE/kdebase/workspace/; revision=867480
2008-10-03 15:49:45 +00:00
Luboš Luňák
e8490cd2ea Just create the _MOTIF_WM_INFO atom, without using it at all.
This helps a broken check in rxvt-unicode.
CCBUG: 172028


svn path=/trunk/KDE/kdebase/workspace/; revision=867241
2008-10-03 07:38:31 +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
Luboš Luňák
a3a10632e6 Fix last commit.
svn path=/trunk/KDE/kdebase/workspace/; revision=866886
2008-10-02 07:15:48 +00:00
Luboš Luňák
727397181a Avoid QTimeLine warnings with invalid timeline duration.
svn path=/trunk/KDE/kdebase/workspace/; revision=866697
2008-10-01 17:50:41 +00:00
Luboš Luňák
a6d092a221 Better handling of hidden previews WRT backwards compatibility,
since the values don't quite map to 4.1 meaning, use new values
and treat old ones as the default (previews for shown windows).


svn path=/trunk/KDE/kdebase/workspace/; revision=866692
2008-10-01 17:27:12 +00:00
Luboš Luňák
79c05cde7d Fix default of hidden previews to be for shown windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=866676
2008-10-01 17:01:47 +00:00
Luboš Luňák
0ca1edbfe8 Read default values from .desktop files when finding out whether an effect is enabled,
otherwise the effect-for-alt+tab combo resets to no effect when the dialog is used the first time.


svn path=/trunk/KDE/kdebase/workspace/; revision=866648
2008-10-01 15:21:21 +00:00
Luboš Luňák
9ad12bc391 Add one more check for paints taking too much time, this time
also detect not-so-bad-but-still-slow paint times over a longer
period of time, i.e. the old check is for systems which are pathetically
slow, this one is for systems that are just slow. Possibly may need
tweaking for cases like high system load, but right now it seems
that e.g. a compilation running cannot trigger this check because
it cannot cause many long repaints in a row.


svn path=/trunk/KDE/kdebase/workspace/; revision=866636
2008-10-01 14:29:56 +00:00