Commit graph

6820 commits

Author SHA1 Message Date
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
Alexis Ménard
b014d1e56c ARM Compile fix.
svn path=/trunk/KDE/kdebase/workspace/; revision=1057628
2009-12-02 23:33:43 +00:00
Script Kiddy
5a806b8111 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=1057423
2009-12-02 12:04:40 +00:00
Script Kiddy
ed04f0c0a9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1057041

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-12-01 11:16:26 +00:00
Martin Gräßlin
279b3d07f8 Crash less
BUG: 216908

svn path=/trunk/KDE/kdebase/workspace/; revision=1056931
2009-12-01 09:31:47 +00:00
Script Kiddy
a9d4dc0c68 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=1056593

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

M	wallpapers/Atra_Dot/metadata.desktop
2009-11-30 12:31:59 +00:00
Fredrik Höglund
18c0ca2ff5 Ignore the frame overlap strut when compositing is disabled, and return
a null rect in transparentRect() when the window is shaded.

svn path=/trunk/KDE/kdebase/workspace/; revision=1056399
2009-11-30 00:37:52 +00:00
Andreas Hartmetz
eab4dc6ed4 fix the build (constness error) by implementing a suggestion from comments
svn path=/trunk/KDE/kdebase/workspace/; revision=1056343
2009-11-29 22:11:49 +00:00
Thomas Lübking
312c5b04fe of course
svn path=/trunk/KDE/kdebase/workspace/; revision=1056314
2009-11-29 20:40:22 +00:00
Thomas Lübking
a4300bbc4d bypass compositing related checks and cofig reading if compositing is disabled to prevent segfaults in broken GL drivers
svn path=/trunk/KDE/kdebase/workspace/; revision=1056313
2009-11-29 20:39:39 +00:00
Thomas Lübking
564843d76f (hopefully) bypass detection if stumbled -due to broken drivers- before
svn path=/trunk/KDE/kdebase/workspace/; revision=1056312
2009-11-29 20:35:47 +00:00
Hugo Pereira Da Costa
4efdd7dda2 force update of title bounding rects at next repaint in captionChange and activeChange. This fixes issues with title being trunkated in title-outline mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1056289
2009-11-29 19:22:03 +00:00
Adriaan de Groot
92ff288701 Happy constructor pattern
svn path=/trunk/KDE/kdebase/workspace/; revision=1056199
2009-11-29 16:16:34 +00:00