Commit graph

5583 commits

Author SHA1 Message Date
Lucas Murray
d760d90eb6 When compiled without OpenGL or XRender support do not show it in the
advanced settings. Patch based on one by Espen Hustad.
BUG: 162094

svn path=/trunk/KDE/kdebase/workspace/; revision=894252
2008-12-08 10:48:38 +00:00
Lucas Murray
5821e6f9d7 Reverted all code relating to automatic X crash detection with agreement
from David. Due to an elusive bug somewhere in kdelibs we have not been
able to find out how to fix the issues that some people were having.
There seems to be a race condition as I cannot reproduce at all, David
can reproduce sporadically and some reporters can always reproduce.

This commit attempts to also keep the code style changes that were made
at the same time as the original commit as well as some minor bug fixes
that were made between then and now. Hopefully I didn't miss anything.

We will be revisit this in KDE 4.3.

BUG: 177178

svn path=/trunk/KDE/kdebase/workspace/; revision=894182
2008-12-08 05:08:31 +00:00
Rick Xing
4975618a22 add brace to avoid compiling warning of gcc
svn path=/trunk/KDE/kdebase/workspace/; revision=894172
2008-12-08 03:49:44 +00:00
Lucas Murray
1edf7d2e62 Add dim screen effect support to PolicyKit-KDE.
svn path=/trunk/KDE/kdebase/workspace/; revision=893945
2008-12-07 15:37:14 +00:00
Martin Gräßlin
010798db44 Some more multi screen voodoo. Thanks to kwin not crashing any more when changing layout and/or resolution I'm quite confident that the layout works with all possible two screen layouts.
svn path=/trunk/KDE/kdebase/workspace/; revision=893587
2008-12-06 22:51:57 +00:00
Script Kiddy
fae02ff9de SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=893407
2008-12-06 15:26:49 +00:00
Martin Gräßlin
44ad9f6ca7 Make snow behind windows the default as it is much nicer.
svn path=/trunk/KDE/kdebase/workspace/; revision=893187
2008-12-06 09:12:33 +00:00
Chusslove Illich
c224805934 i18n: disambiguation contexts.
svn path=/trunk/KDE/kdebase/workspace/; revision=893089
2008-12-05 22:23:29 +00:00
David Nadlinger
21f64ffffe kcmkwincompositing: Brought back a slot which I recently removed because it was seemingly unneeded (at least nobody could tell why it was there in the first place).
I don't expect this to fix the plugin selection bug, but it could aid in tracking the issue down.

svn path=/trunk/KDE/kdebase/workspace/; revision=893015
2008-12-05 18:41:24 +00:00
David Nadlinger
81966b29e9 Removed now unneeded temporary config workaround from kcmkwincompositing.
If there appears any new, possibly related bug, be quick to suspect this commit, because it is not really tested, but should help to track the plugin selection bug down.

svn path=/trunk/KDE/kdebase/workspace/; revision=893010
2008-12-05 18:13:42 +00:00
Lucas Murray
5413d0ec5d SVN_SILENT Cleaned up recent commits.
svn path=/trunk/KDE/kdebase/workspace/; revision=892363
2008-12-04 09:02:21 +00:00
Martin Gräßlin
39d23a7ab3 Do not activate OpenGL only effects in XRender mode.
BUG: 176617

svn path=/trunk/KDE/kdebase/workspace/; revision=892361
2008-12-04 08:47:07 +00:00
Martin Gräßlin
f6d8309251 Don't know what I tested before... but the reflection area does not get clipped by using PaintClipper, therefore we still need a scissor test. PaintClipper is also needed for the reflected windows in a vertical screen layout.
svn path=/trunk/KDE/kdebase/workspace/; revision=892245
2008-12-03 21:08:38 +00:00
Martin Gräßlin
ba9eaebb12 Use multi screen initialisation of CoverSwitch (only for no "big cube") and the reflection with a PaintClipper. This solves some painting issues of cube and multi screen setups.
svn path=/trunk/KDE/kdebase/workspace/; revision=892205
2008-12-03 19:51:41 +00:00
Martin Gräßlin
77381aadb3 Use PaintClipper to restrict reflections to the current screen. By that we can make the reflection plane so huge that it will definatelly be on the screen.
svn path=/trunk/KDE/kdebase/workspace/; revision=892204
2008-12-03 19:48:06 +00:00
Martin Gräßlin
3150cb2631 Implement clipping of snow flakes in fragment shader. This fixes painting the flakes several times in multi screen setup as well as during active desktop grid effect. Also honour translations and scaling of the desktop and re-enabling snow during active full screen effect.
BUG: 176489

svn path=/trunk/KDE/kdebase/workspace/; revision=892202
2008-12-03 19:46:20 +00:00
Script Kiddy
bc5bd54bd1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=892099

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/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Emotion/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/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-12-03 14:37:06 +00:00
Martin Gräßlin
2387e701f6 Paint desktop windows only once in multi screen setups as we know that a desktop window is bound to a screen and there is one desktop window per screen.
svn path=/trunk/KDE/kdebase/workspace/; revision=891952
2008-12-03 10:56:46 +00:00
Script Kiddy
09b5e45bd4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=891616
2008-12-02 13:39:36 +00:00
Alexander Neundorf
99b4b9dd88 -make kdebase build with the reduced link interface using target_link_libraries(... LINK_INTERFACE_LIBRARIES ...)
Alex



svn path=/trunk/KDE/kdebase/workspace/; revision=891438
2008-12-02 02:01:14 +00:00
Script Kiddy
2d4ef0e6bd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=891235
2008-12-01 13:06:34 +00:00
Martin Gräßlin
6576ff1d21 Also show opaque windows when opacity is set to 100%.
BUG: 173214

svn path=/trunk/KDE/kdebase/workspace/; revision=890977
2008-11-30 19:16:13 +00:00
David Nadlinger
a875c6ea23 Present Windows when there is only one window if this window is not on the current desktop.
BUG: 176499

svn path=/trunk/KDE/kdebase/workspace/; revision=890861
2008-11-30 14:51:32 +00:00
Martin Gräßlin
b9fd1e6d10 * Update the snow flakes only once per frame. This fixes the problem of faster snow flakes if there are more then one screens.
* Disable snow effect if there is an active full screen effect as it causes some problems. E.g. in desktop grid the snow flakes are painted several times and by that look terrible.
CCBUG: 176489

svn path=/trunk/KDE/kdebase/workspace/; revision=890836
2008-11-30 13:11:11 +00:00
Lucas Murray
6d3f171ce5 Fix compiling when there is no XRender libraries.
svn path=/trunk/KDE/kdebase/workspace/; revision=890434
2008-11-29 11:08:53 +00:00
Wouter Becq
059e80c15e fix compile without opengl
svn path=/trunk/KDE/kdebase/workspace/; revision=890431
2008-11-29 10:58:14 +00:00
Lucas Murray
1ad4bbfea3 Polish cover switch settings GUI. Now the inputs actually line up.
svn path=/trunk/KDE/kdebase/workspace/; revision=890411
2008-11-29 09:46:17 +00:00
Lucas Murray
ebb0fe0979 Use a hack to fix the reflection base position in cover switch, added
just in case Martin doesn't get around to fixing it before 4.2 release.
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/workspace/; revision=890407
2008-11-29 09:32:59 +00:00
Lucas Murray
a3d487cf92 Disable box switch animations by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=890385
2008-11-29 02:38:59 +00:00
Lucas Murray
01d167d463 Reverted part of r890193 as it didn't fix the problem.
svn path=/trunk/KDE/kdebase/workspace/; revision=890200
2008-11-28 15:23:28 +00:00
Lucas Murray
ab330beb59 Enable box switch animations by default.
Add window fading when activating or deactivating to make it look nicer.
CCBUG: 176338

svn path=/trunk/KDE/kdebase/workspace/; revision=890199
2008-11-28 15:23:21 +00:00
Lucas Murray
eca9561ab7 Possible fix for corrupting KWin settings on some systems.
Also fixed setting revert message to only display when actually
reverting.

svn path=/trunk/KDE/kdebase/workspace/; revision=890193
2008-11-28 14:57:22 +00:00
Script Kiddy
09061ebbe9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=890147
2008-11-28 13:29:59 +00:00
Lucas Murray
141dae20ed Reload decorations when enabling or disabling compositing as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=890055
2008-11-28 12:34:41 +00:00
Lucas Murray
5f8081a7e9 Sync r889943 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=889945
2008-11-28 04:06:49 +00:00
Lucas Murray
7269b928ea Fixed incorrect shadow opacities in OpenGL mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=889944
2008-11-28 04:05:31 +00:00
Lucas Murray
14b6d36634 A slightly better, less aggressive window shadow cutout.
svn path=/trunk/KDE/kdebase/workspace/; revision=889943
2008-11-28 04:05:26 +00:00
Cédric Borgese
018bdfd26e Reduce wobblyness when resizing the window by locking the opposite window corner of the mouse cursor.
This greatly improve the wobbly experience when resizing.
Patch by Toby Dickenson

svn path=/trunk/KDE/kdebase/workspace/; revision=889857
2008-11-27 21:50:04 +00:00
Lucas Murray
1efa1b0376 Fix regression caused by r889761.
Also fix windows scaling off into nothingness when they do not overlap
another window.

svn path=/trunk/KDE/kdebase/workspace/; revision=889766
2008-11-27 15:11:10 +00:00
Lucas Murray
848b2a936c Fix bug where if the user filters to only a single single in the natural
layout there is no motion dynamics applied to it.

svn path=/trunk/KDE/kdebase/workspace/; revision=889761
2008-11-27 14:56:00 +00:00
Lucas Murray
6c45eb5280 Sync r889744 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=889748
2008-11-27 14:36:16 +00:00
Lucas Murray
2385ed545b Make parts of the shadow texture that are under windows transparent.
Fixes translucent windows graphical glitch.

svn path=/trunk/KDE/kdebase/workspace/; revision=889744
2008-11-27 14:25:59 +00:00
Lucas Murray
117cb5719f Move repeated code into a helper function.
svn path=/trunk/KDE/kdebase/workspace/; revision=889733
2008-11-27 13:38:35 +00:00
Lucas Murray
e4d54bd4de Implement XRender shadow brightness.
svn path=/trunk/KDE/kdebase/workspace/; revision=889724
2008-11-27 13:20:26 +00:00
Script Kiddy
08b2d13fdc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=889700
2008-11-27 12:29:58 +00:00
Script Kiddy
02a8cecb2e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=889319
2008-11-26 14:02:48 +00:00
Lucas Murray
2b22689c45 Paint effect text onto a QImage instead of a QPixmap. Makes OpenGL mode
faster, XRender slower and works around a subpixel font rendering problem.
BUG: 173089

svn path=/trunk/KDE/kdebase/workspace/; revision=888946
2008-11-25 15:15:26 +00:00
Lucas Murray
e77541ab7f Replaced outdated URL.
svn path=/trunk/KDE/kdebase/workspace/; revision=888945
2008-11-25 15:15:15 +00:00
Script Kiddy
ec2dc23430 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=888883
2008-11-25 13:11:07 +00:00
Lucas Murray
7c0628f337 Reload decorations when any shadow-related settings are changed.
svn path=/trunk/KDE/kdebase/workspace/; revision=888747
2008-11-25 10:06:44 +00:00