Commit graph

6782 commits

Author SHA1 Message Date
Martin Gräßlin
5744a0c0f2 Fix improper include guards.
SVN_SILENT

svn path=/trunk/KDE/kdebase/workspace/; revision=1063324
2009-12-17 20:50:07 +00:00
Martin Gräßlin
67f047e290 Kconf update for converting the old tabbox settings to the new one.
Using C++ as the bash script didn't work. Nevertheless thanks to Jan Gerrit Marker for the half working script (would have worked if all entries were in the same config group).
BUG: 211215

svn path=/trunk/KDE/kdebase/workspace/; revision=1063079
2009-12-16 22:19:37 +00:00
Fredrik Höglund
586f4e9010 Check if the decoration supports the frame overlap strut in
Client::transparentRect() and Client::layoutDecorationRects().

svn path=/trunk/KDE/kdebase/workspace/; revision=1063057
2009-12-16 20:51:54 +00:00
Martin Gräßlin
391f4a3e23 Plasma part for setting the number of rows in desktop kcm is missing, so we hide it.
Will be back when trunk reopens and I have to bug Plasma devs to implement it ;-)

svn path=/trunk/KDE/kdebase/workspace/; revision=1063035
2009-12-16 19:46:42 +00:00
Martin Gräßlin
6aacd897e2 Use KNS3 download dialog in Aurorae config.
This change magically fixes the problem that you had to close the systemsettings window to use the GHNS dialog.

svn path=/trunk/KDE/kdebase/workspace/; revision=1063029
2009-12-16 19:19:01 +00:00
Fredrik Höglund
85d965a78e Fix a performance problem with the radeon driver and effects that use
tranformations when in Xrender mode.

svn path=/trunk/KDE/kdebase/workspace/; revision=1063025
2009-12-16 18:51:36 +00:00
Fredrik Höglund
042af295ee Update _NET_SUPPORTED based on AbilityExtendIntoClientArea when
switching decorations.

svn path=/trunk/KDE/kdebase/workspace/; revision=1063015
2009-12-16 18:03:15 +00:00
Fredrik Höglund
92fc39b5eb Aurorae supports AbilityExtendIntoClientArea.
svn path=/trunk/KDE/kdebase/workspace/; revision=1063011
2009-12-16 17:51:58 +00:00
Fredrik Höglund
fd8a4c54a7 Add AbilityExtendIntoClientArea.
svn path=/trunk/KDE/kdebase/workspace/; revision=1063010
2009-12-16 17:51:00 +00:00
Lucas Murray
c28ed5eeed Make desktop grid window tabbing safe.
svn path=/trunk/KDE/kdebase/workspace/; revision=1062594
2009-12-15 10:06:39 +00:00
Hugo Pereira Da Costa
dd3a6041de remove mouseReleaseEvent corresponding to showing the menu from the event loop.
this is a patch originally from Thomas Lubig (thanks!)
CCBUG: 218623


svn path=/trunk/KDE/kdebase/workspace/; revision=1062526
2009-12-15 01:27:50 +00:00
Martin Gräßlin
a60de51d6a Change the mouse cursor in desktop grid on start of dragging (after dnd delay) and not when pressing the mouse button.
That should help to indicate the difference between click and drag.
BUG: 211041

svn path=/trunk/KDE/kdebase/workspace/; revision=1062475
2009-12-14 21:28:24 +00:00
Thomas Lübking
6f761f2082 eventhandling (catch segfault on disabling deco by rmb menu), moc vs. local deconstructor
svn path=/trunk/KDE/kdebase/workspace/; revision=1062392
2009-12-14 15:43:26 +00:00
Lucas Murray
72b50354a0 Swap if statements around so it makes more sense. Also fix possible
logic error.

svn path=/trunk/KDE/kdebase/workspace/; revision=1062369
2009-12-14 13:30:39 +00:00
Lucas Murray
89e8c3f186 Make Client::setClientShown() a no-op if it's not required. (Maybe fixes
focus stealing prevention for ungrouped windows?)

svn path=/trunk/KDE/kdebase/workspace/; revision=1062368
2009-12-14 13:26:39 +00:00
Lucas Murray
7578016b72 If two windows cannot have the same geometry then don't allow them to be
grouped.

svn path=/trunk/KDE/kdebase/workspace/; revision=1062354
2009-12-14 12:39:33 +00:00
Lucas Murray
a00c06c71a If two windows cannot be on the same desktop then don't allow them to be
grouped.
BUG: 217434

svn path=/trunk/KDE/kdebase/workspace/; revision=1062353
2009-12-14 12:29:48 +00:00
Lucas Murray
017a5c8431 Be more strict with tab autogrouping after an in-session KWin restart.
This is probably as good as it gets without adding window properties.
CCBUG: 218116

svn path=/trunk/KDE/kdebase/workspace/; revision=1062347
2009-12-14 12:03:32 +00:00
Lucas Murray
601086c81e Disable the direction keys in present window when there is no
highlighted window on the screen. Happens when no window matches the
current filter.
BUG: 212984

svn path=/trunk/KDE/kdebase/workspace/; revision=1062343
2009-12-14 11:44:01 +00:00
Lucas Murray
1c02f9aaf6 Make the Tabstrip decoration follow font size settings.
svn path=/trunk/KDE/kdebase/workspace/; revision=1062336
2009-12-14 11:22:05 +00:00
Script Kiddy
c1d2862b54 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1062316

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

M	wallpapers/Media_Life/metadata.desktop
M	wallpapers/Quadros/metadata.desktop
2009-12-14 10:51:05 +00:00
Jacopo De Simoi
abe42cf21f Recreate effectframe textures when compositing is disabled/enabled to avoid corruption
svn path=/trunk/KDE/kdebase/workspace/; revision=1062238
2009-12-14 09:49:06 +00:00
Jacopo De Simoi
239fa294b8 Use a set instead of a counter to keep track of moving windows, this is much less error-prone and allows to avoid corner cases
such as motions for the same window starting in the same frame.
BUG: 205632

svn path=/trunk/KDE/kdebase/workspace/; revision=1062214
2009-12-14 08:48:54 +00:00
Christoph Feck
12bba19ee1 Fix Apply button getting disabled when changing tabs
BUG: 163817

svn path=/trunk/KDE/kdebase/workspace/; revision=1062180
2009-12-14 03:18:43 +00:00
Hugo Pereira Da Costa
c5c464226d changed painting order of old/new caption and embossed/main text when title text transition is called, to avoid flicker. Also removed automatic text elision on old caption
svn path=/trunk/KDE/kdebase/workspace/; revision=1062149
2009-12-13 23:24:36 +00:00
Urs Wolfer
3810ed6ff4 optimizegraphics: Losslessly optimized PNG and SVGZ files with "optipng -o5" and "advdef -z -4".
Reduced disk space: 2524KB (2MB)

svn path=/trunk/KDE/kdebase/workspace/; revision=1062129

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

M	wallpapers/Media_Life/contents/screenshot.png
M	wallpapers/Quadros/contents/screenshot.png
2009-12-13 21:35:03 +00:00
Thomas Lübking
99b912e91e catch client_group on caption change, caused segfault after switchiing between tabbing and non-tabbing decos
svn path=/trunk/KDE/kdebase/workspace/; revision=1062020
2009-12-13 15:23:22 +00:00
Thomas Lübking
99b82bd530 avoid NULL pointer deref
BUG: 218202

svn path=/trunk/KDE/kdebase/workspace/; revision=1062003
2009-12-13 14:43:02 +00:00
Script Kiddy
efd52a596e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1061271

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

M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-12-11 09:56:44 +00:00
Script Kiddy
49288cb771 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1060615

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

M	wallpapers/Atra_Dot/metadata.desktop
2009-12-09 11:40:52 +00:00
Hugo Pereira Da Costa
26f153dd97 fixed location of dragging icon in outline mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1060481
2009-12-09 04:17:09 +00:00
Script Kiddy
6d0e02633a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1060237

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-12-08 10:50:27 +00:00
Martin Gräßlin
0ecc15e119 Use a hash iterator instead of keys() to walk through the hash.
svn path=/trunk/KDE/kdebase/workspace/; revision=1060128
2009-12-08 08:37:01 +00:00
Hugo Pereira Da Costa
0281658d1d trigger 'changed' when active window glow is enabled/disabled
svn path=/trunk/KDE/kdebase/workspace/; revision=1060064
2009-12-07 23:53:02 +00:00
Hugo Pereira Da Costa
1698f34b6f ... and set default spacer height to 1, rather than 0.
svn path=/trunk/KDE/kdebase/workspace/; revision=1060059
2009-12-07 23:41:52 +00:00
Hugo Pereira Da Costa
e03ed54f0b added spacer below buttons
svn path=/trunk/KDE/kdebase/workspace/; revision=1060055
2009-12-07 23:39:08 +00:00
Hugo Pereira Da Costa
abda43c9c9 removed the 'glow active window' checkbox and move it to the active window glow 'groupbox'. This allows one to reduce the size of the configuration dialog, leaving more space to the preview. No string change
svn path=/trunk/KDE/kdebase/workspace/; revision=1060053
2009-12-07 23:32:24 +00:00
Script Kiddy
0c10757427 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1059769
2009-12-07 10:16:35 +00:00
Martin Gräßlin
30f0575de0 Somehow effects->activeWindow() seems to return NULL during setup, so don't check our saved variable but the current active window.
BUG: 200232

svn path=/trunk/KDE/kdebase/workspace/; revision=1059477
2009-12-06 18:14:15 +00:00
Martin Gräßlin
612972eea0 Boxswitch uses paintWindow instead of drawWindow to paint the thumbnail and invert uses drawWindow instead of paintWindow to set the shader.
That way the thumbnail is passed through the whole rendering pass and has the same invert state as the window.
BUG: 212348

svn path=/trunk/KDE/kdebase/workspace/; revision=1059463
2009-12-06 17:25:35 +00:00
Martin Gräßlin
165e2edb08 I think moving windows to another desktop in desktop grid should not activate them. But just clicking on them should activate them.
BUG: 211546

svn path=/trunk/KDE/kdebase/workspace/; revision=1059393
2009-12-06 14:22:57 +00:00
Martin Gräßlin
21b30c7a37 Do not fade out windows from other desktops when selecting a window on all desktops in present windows effect.
BUG: 212551

svn path=/trunk/KDE/kdebase/workspace/; revision=1059389
2009-12-06 13:54:23 +00:00
Martin Gräßlin
08aeaca855 Fixing build issue with inconsistent constness with Sun compiler.
Thanks to tropikhajma for providing the patch. (Next time you could send the patch to the mailinglist as patches attached to bugreports get easily forgotten)
BUG: 216581

svn path=/trunk/KDE/kdebase/workspace/; revision=1059355
2009-12-06 11:38:30 +00:00
Luboš Luňák
bbd4deffe8 Bah, do this properly. Avoid detecting compositing prefs only
if compositing is explicitly disabled. This allows disabling
it if there's a problem, and in that case the prefs don't matter
anyway, but it doesn't prevent detecting details about compositing
when it might be used.


svn path=/trunk/KDE/kdebase/workspace/; revision=1058282
2009-12-04 09:40:12 +00:00
Luboš Luňák
7cef1eadd5 use recommendation from compositing prefs only if there's
no explicit choice (because of driver crashes)


svn path=/trunk/KDE/kdebase/workspace/; revision=1058248
2009-12-04 09:29:08 +00:00
Fredrik Höglund
37fbc26205 Enable OpenGL compositing by default with R600/R700 cards and Mesa 7.7+.
svn path=/trunk/KDE/kdebase/workspace/; revision=1058207
2009-12-04 08:58:54 +00:00
Luboš Luňák
868e08f380 Revertlast, will be fixed properly. Next time when you decide to revert
something, please at least look at the commit you're reverting - this is
obviously broken too.
CCMAIL: Andreas Hartmetz <ahartmetz@gmail.com>


svn path=/trunk/KDE/kdebase/workspace/; revision=1058203
2009-12-04 08:50:13 +00:00
Andreas Hartmetz
601233bcc1 Treat CompositingPrefs::enableCompositing() merely as a recommendation again
like it was before. This makes it possible to enable compositing again on my
R600 hardware and other hardware that is not explicitly known to work.
I also think that CompositingPrefs::enableCompositing() is a (really) bad name:
it's not about user preferences and it's not definitive. So what about
CompositingHardware::isKnownToWork()?.

svn path=/trunk/KDE/kdebase/workspace/; revision=1058198
2009-12-04 08:31:28 +00:00
Andreas Hartmetz
82f6efa7d0 clearer, spelling++
svn path=/trunk/KDE/kdebase/workspace/; revision=1058185
2009-12-04 06:23:24 +00:00
Sebastian Kügler
7d9155171d compositing detection for r300
I've had missing compositing since about a week on my ATI x1300.

After a bit of debugging with the help of fredrikh and mgraesslin, the version string reported seems to be the culprit. I've special-cased the different version string for the R300 driver and it works again now.

The strings my r300 reports are:

DRI R300 Project
Mesa DRI R300 (RV515 7149) 20090101 x86/MMX/SSE2 TCL
1.4 (1.5 Mesa 7.6)

reviewed by fredrikh

kwin people, please have another look, I don't want to break anybody else's setup...

CCMAIL:kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=1058156
2009-12-04 01:13:33 +00:00