Commit graph

20198 commits

Author SHA1 Message Date
Luboš Luňák
a30d1ee6ad Call updateShape() unconditionally, it checks itself for shape presence
and also handles input shape, about which shape() call doesn't say anything.
BUG: 152809


svn path=/trunk/KDE/kdebase/workspace/; revision=749695
2007-12-17 16:30:36 +00:00
Luboš Luňák
c7442deb32 Updates.
svn path=/trunk/KDE/kdebase/workspace/; revision=749636
2007-12-17 14:33:33 +00:00
Luboš Luňák
4d03438d35 LIBGL_ALWAYS_INDIRECT should be now set automatically.
svn path=/trunk/KDE/kdebase/workspace/; revision=749632
2007-12-17 14:20:14 +00:00
Luboš Luňák
bb97953656 Hacks for specific driver systems:
- setting LIBGL_ALWAYS_INDIRECT=1, as that seems to be required for texture_from_pixmap
    to work with AIGLX
- setting __GL_YIELD=NOTHING to noticeably improve smoothness with nVidia


svn path=/trunk/KDE/kdebase/workspace/; revision=749631
2007-12-17 14:19:41 +00:00
Luboš Luňák
c222bdfff4 Forgot svn add.
svn path=/trunk/KDE/kdebase/workspace/; revision=749630
2007-12-17 14:18:07 +00:00
Luboš Luňák
d43b34aa0b Remove old comments.
svn path=/trunk/KDE/kdebase/workspace/; revision=749629
2007-12-17 14:15:32 +00:00
Luboš Luňák
bb433ac40e No longer include config*.h files in installed headers.
Also slightly redo the #define's for effects, now it's:
- #ifdef KWIN_HAVE_COMPOSITING to check whether there's any compositing support at all
- #ifdef KWIN_HAVE_OPENGL_COMPOSITING to check for OpenGL-based compositing
- #ifdef KWIN_HAVE_XRENDER_COMPOSITING the same for XRender
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=749628
2007-12-17 14:14:53 +00:00
Luboš Luňák
44cc93170d Add check for effect version to prevent loading of incompatible plugins.
Should work automagically, not changes in plugins needed.


svn path=/trunk/KDE/kdebase/workspace/; revision=749626
2007-12-17 14:10:21 +00:00
Script Kiddy
44bd0185ec SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=749502
2007-12-17 09:08:13 +00:00
Aurélien Gâteau
35eff66c1f One less double margin.
svn path=/trunk/KDE/kdebase/workspace/; revision=749474
2007-12-17 08:26:19 +00:00
Rivo Laks
bb6d6bb9fe s/serialNumber/cacheKey/ (serialNumber() is obsolete)
svn path=/trunk/KDE/kdebase/workspace/; revision=749195
2007-12-16 19:40:00 +00:00
Rivo Laks
6827a0cc32 For some reason the icon caching doesn't work here so let's just disable it for now.
svn path=/trunk/KDE/kdebase/workspace/; revision=749165
2007-12-16 18:31:33 +00:00
Rivo Laks
7515cc8e0e Repaint filter box area when filter is empty.
svn path=/trunk/KDE/kdebase/workspace/; revision=749110
2007-12-16 14:43:28 +00:00
Script Kiddy
072cfc7597 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=749000

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

M	wallpapers/plasma-default.png.desktop
2007-12-16 07:57:44 +00:00
Script Kiddy
18a41ac9f1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=748723

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

M	wallpapers/kde_box.png.desktop
M	wallpapers/plasma-default.png.desktop
M	wallpapers/seaofconero.jpg.desktop
2007-12-15 08:25:51 +00:00
Luboš Luňák
5bc01ac817 Prevent transient loops also when caused by 'this' (which doesn't have
the new value set yet).
BUG: 153360


svn path=/trunk/KDE/kdebase/workspace/; revision=748511
2007-12-14 17:29:19 +00:00
Rivo Laks
213833fc7f Finally make the bloody blur effect work properly.
This fixes the artefacts appearing when only part of the screen is updated.
This version also brings ton of optimizations which might well increase performance
  2 or 3 times on slower cards:
- Windows are not drawn twice anymore. Now they're drawn only to render target and
  later changed parts of the render target are copied back onto screen.
- Shaders have been optimized. Some calculations moved from pixel shader to vertex shader.
- For ARGB windows, if window's opacity is 0 then it will stay transparent instead of being
  replaced by blurred background.
- Blur effect should now play nicer with other effects, e.g. shadows.

svn path=/trunk/KDE/kdebase/workspace/; revision=748502
2007-12-14 16:57:38 +00:00
Luboš Luňák
eba221d0a3 The effect is now in builtins.
BUG: 153280


svn path=/trunk/KDE/kdebase/workspace/; revision=748499
2007-12-14 16:55:02 +00:00
Script Kiddy
fb3dcab543 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=748324
2007-12-14 07:53:43 +00:00
Marijn Kruisselbrink
e185ec3c8b fixes for platforms where qreal is not a double
btw, wouldn't it be cleaner if all those qMin(0.0, qMax(1.0, foo)) calls are calls to qBound instead?

svn path=/trunk/KDE/kdebase/workspace/; revision=748283
2007-12-14 01:38:32 +00:00
Script Kiddy
18ac3ed822 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=747533

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

M	wallpapers/kde_box.png.desktop
2007-12-12 09:03:36 +00:00
Script Kiddy
0c4db5b807 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=747146
2007-12-11 07:44:45 +00:00
Adriaan de Groot
9ff9f6ce22 Disambiguating ints and unsigned and float and double
svn path=/trunk/KDE/kdebase/workspace/; revision=747016
2007-12-10 20:43:13 +00:00
Thomas Zander
539275e0df BUG:153554
Make the checkbox a tri-state when not all items it represents were selected

svn path=/trunk/KDE/kdebase/workspace/; revision=746970
2007-12-10 19:04:21 +00:00
Script Kiddy
17f98d07ae SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=746783
2007-12-10 07:48:53 +00:00
Urs Wolfer
d55f9438c6 fix icon
svn path=/trunk/KDE/kdebase/workspace/; revision=746715
2007-12-09 23:08:18 +00:00
Script Kiddy
be95c017fb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=746474

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

M	wallpapers/plasma-default.png.desktop
2007-12-09 07:38:20 +00:00
Luboš Luňák
0a59114c43 I suppose black looks better on places where there's nothing at all.
svn path=/trunk/KDE/kdebase/workspace/; revision=746328
2007-12-08 17:58:24 +00:00
Luboš Luňák
0b2a40e150 Act on KeyPress, not KeyRelease, the release may come
from the activating shortcut.


svn path=/trunk/KDE/kdebase/workspace/; revision=746327
2007-12-08 17:57:53 +00:00
Rivo Laks
864dea425e Reworked shadow effect which should bring nice speedup (especially on cards where fill
rate is expensive).
It optimizes shadow rendering a lot by eliminating tons of overdraw:
- Windows are not forced to be drawn bottom-to-top anymore.
- For opaque windows, shadows are drawn only to where they will actually be visible, not
  under the whole window.

svn path=/trunk/KDE/kdebase/workspace/; revision=746296
2007-12-08 16:24:48 +00:00
Laurent Montel
881fd48854 Don't add slot which doesn't exist
svn path=/trunk/KDE/kdebase/workspace/; revision=746266
2007-12-08 13:55:13 +00:00
Laurent Montel
9f993fa74a Wordwrap text
svn path=/trunk/KDE/kdebase/workspace/; revision=746263
2007-12-08 13:44:44 +00:00
Script Kiddy
2e0197548a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=746193

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

M	wallpapers/plasma-default.png.desktop
2007-12-08 07:43:54 +00:00
Rivo Laks
bd19b6dc45 Add EffectWindow::shape()
svn path=/trunk/KDE/kdebase/workspace/; revision=746064
2007-12-07 18:03:24 +00:00
Rivo Laks
be3271c8e0 Fix problem with partial repaints when effect's prePaintWindow() expands paint region.
Also rework the code a bit to simplify it and make it more comprehensible (IMHO).

svn path=/trunk/KDE/kdebase/workspace/; revision=746050
2007-12-07 17:03:59 +00:00
Luboš Luňák
3b2b091c34 Make a clear distinction between types we support only for compositing
and types that are actually supported when managing windows.


svn path=/trunk/KDE/kdebase/workspace/; revision=746036
2007-12-07 15:53:43 +00:00
Urs Wolfer
1df5accf3e warnings--
svn path=/trunk/KDE/kdebase/workspace/; revision=745676
2007-12-06 19:46:09 +00:00
Luboš Luňák
f751d02384 Enable buttons correctly at startup.
svn path=/trunk/KDE/kdebase/workspace/; revision=745636
2007-12-06 17:23:13 +00:00
Matthew Woehlke
e21a0778fd Three changes; fix two bugs, migrate plastik.cpp to KColorUtils/KColorScheme way of handling colors (and away from misc.cpp)
bug - add +2 to titleBarTileHeight in PlastikHandler::pixmap, this fixes the pixmap not being tall enough (it seems between 3.5 and 4.0 the titlebar is being drawn two pixels taller; this fixes the symptom, not the cause, which I didn't find)

bug - porting error on my part had an extra stop in the titlebar gradient, changing the appearance; remove the extra stop

TODO: find and correct the real cause?
TODO: port other code away from misc.cpp and then kill misc.cpp

svn path=/trunk/KDE/kdebase/workspace/; revision=745163
2007-12-05 16:05:04 +00:00
Script Kiddy
78bbe3d833 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=745035

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

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/aurora.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/kde_box.png.desktop
M	wallpapers/plasma-default.png.desktop
2007-12-05 07:44:57 +00:00
Casper Boemann
b09357e1b0 Don't draw resize handles on windows that aren't resizable
svn path=/trunk/KDE/kdebase/workspace/; revision=744065
2007-12-02 16:38:38 +00:00
Script Kiddy
be1ae53757 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=743871

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

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Won-Ton-Soup-3.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/plasma-default.png.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
2007-12-02 08:04:51 +00:00
Rivo Laks
6ac0b970ad Add to Systemsettings, to Look&Feel->Desktop category
svn path=/trunk/KDE/kdebase/workspace/; revision=743604
2007-12-01 13:04:53 +00:00
Script Kiddy
ec0d6d0ef2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=743500

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

M	wallpapers/plasma-default.png.desktop
2007-12-01 07:41:49 +00:00
Script Kiddy
962b966230 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=743229
2007-11-30 07:55:45 +00:00
Luboš Luňák
daf1fbd23e Add spacers before the close button to make it stand alone,
but don't alter the layout otherwise.


svn path=/trunk/KDE/kdebase/workspace/; revision=743055
2007-11-29 19:28:07 +00:00
Luboš Luňák
cefbf62136 I'm quite sure these in fact do support spacers.
svn path=/trunk/KDE/kdebase/workspace/; revision=743036
2007-11-29 18:41:23 +00:00
Luboš Luňák
59e845e4e6 Make width of titlebar spacers default to half width of normal buttons,
not some random tiny sizes or even zero. Maybe could need small tweaking
here or there, but a spacer is supposed to make at least some space.


svn path=/trunk/KDE/kdebase/workspace/; revision=743034
2007-11-29 18:37:52 +00:00
Matthew Woehlke
3efc18c3b9 use new AbilityColor* in all kdebase windecos (except kwmtheme which doesn't seem to have a supports() even, and reportedly is not built)
svn path=/trunk/KDE/kdebase/workspace/; revision=743029
2007-11-29 18:02:20 +00:00
Matthew Woehlke
36850bd14a use new AbilityAnnounceColor
svn path=/trunk/KDE/kdebase/workspace/; revision=743016
2007-11-29 17:14:26 +00:00