Commit graph

5468 commits

Author SHA1 Message Date
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
Script Kiddy
2a84f5892f SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=872391
2008-10-17 06:07:31 +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
Script Kiddy
bf84a68dca SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=870701
2008-10-13 06:10:00 +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
Script Kiddy
ab954f7492 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=867979
2008-10-05 05:50:38 +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
Luboš Luňák
b93766efc8 Make the cached stacking order invalid right after sending X command for changing it,
in case the new stacking order is needed before kwin gets the matching event,
due to X being asynchronous.
BUG: 171033


svn path=/trunk/KDE/kdebase/workspace/; revision=866605
2008-10-01 12:49:52 +00:00
Luboš Luňák
a8366d49dd r866586
Avoid drawing corruptions caused by window geometry and shape
being out of sync (bnc#430472).


svn path=/branches/KDE/4.1/kdebase/workspace/; revision=866589
2008-10-01 11:55:44 +00:00
Luboš Luňák
402ea46332 Avoid drawing corruptions caused by window geometry and shape
being out of sync (bnc#430472).


svn path=/trunk/KDE/kdebase/workspace/; revision=866586
2008-10-01 11:53:48 +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
Script Kiddy
b63d9049fc SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=866510
2008-10-01 07:11:02 +00:00
Michael Jansen
11bd92b381 - Correct key usage.
- Forget global shortcut

svn path=/trunk/KDE/kdebase/workspace/; revision=866436
2008-09-30 20:44:40 +00:00
Luboš Luňák
fa48c3f1f4 r866350
When window shape changes, also cause a workspace repaint, just in case
the change removes part of a window. Also, window repaint is enough,
no need to damage the window contents.


svn path=/branches/KDE/4.1/kdebase/workspace/; revision=866351
2008-09-30 16:46:14 +00:00