Darío Andrés Rodríguez
07ada33d96
Some code cleanup and style fixing
...
svn path=/trunk/KDE/kdebase/workspace/; revision=961920
2009-05-01 03:03:54 +00:00
Darío Andrés Rodríguez
e4a80093b3
Fix a selection bug. Use proper selection commands
...
Also, do not delete and recreate every list item when moving, just taking and reinserting.
BUG: 187492
svn path=/trunk/KDE/kdebase/workspace/; revision=961918
2009-05-01 02:10:13 +00:00
Martin Gräßlin
9868b062c1
When finishing compositing we have to trigger a decoration repaint or there will be artefacts.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=961903
2009-04-30 22:08:33 +00:00
Andrew Coles
8cc4b8fd44
SVN_SILENT
...
Exclamation point squishing.
svn path=/trunk/KDE/kdebase/workspace/; revision=961868
2009-04-30 20:50:56 +00:00
Martin Gräßlin
9f70ddce3b
When reinitCompositing we can assume that the user wants to restart compositing even if compositing has been suspended.
...
So we end suspend compositing and send signal that compositing is active. That way reinitCompositing behaves like resume compositing when suspended.
BUG: 188118
svn path=/trunk/KDE/kdebase/workspace/; revision=961602
2009-04-30 12:51:55 +00:00
Martin Gräßlin
2a8fae3234
Rename uniforms textureWidth and textureHeight to blurTextureWidth/Height in blur effect as those uniforms are used on global scale now.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=961554
2009-04-30 10:40:05 +00:00
Script Kiddy
71766bae2e
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=961136
2009-04-29 14:49:56 +00:00
Marcel Partap
4072d108b1
Rework killer confirmation dialog to make it more obvious that continuing can quite certainly be destructive to the user's data.
...
GUI
svn path=/trunk/KDE/kdebase/workspace/; revision=961044
2009-04-29 13:42:53 +00:00
Luboš Luňák
e9e08c35cb
Do not mistakenly report that compositing could not be enabled.
...
The compositing kcm now results in two reconfigurations of KWin,
and the second one meant that waitForCompositingSetup() didn't work
correctly.
svn path=/trunk/KDE/kdebase/workspace/; revision=960555
2009-04-28 16:20:26 +00:00
Martin Gräßlin
91f0305942
Use foreach loop instead of iterator based for loop when walking through stacking_order in cascade desktop. It seems that stacking order is changed which is causing a crash with the iterator based version.
...
BUG: 190903
svn path=/trunk/KDE/kdebase/workspace/; revision=960527
2009-04-28 15:26:02 +00:00
Martin Gräßlin
7a06c636b2
Reenable logout blur - we found the reason why it stopped rendering (popRenderTarget in assert statement). If someone still has problems with it, please yell.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=960509
2009-04-28 15:00:56 +00:00
Luboš Luňák
720e507db4
CARD8 is not int, thanks for the patch.
...
BUG: 190811
svn path=/trunk/KDE/kdebase/workspace/; revision=960495
2009-04-28 14:01:39 +00:00
Martin Gräßlin
7b2f79428a
Mouse polling was deactivated wrongly in all zooming effects.
...
BUG: 183983
svn path=/trunk/KDE/kdebase/workspace/; revision=960048
2009-04-27 20:20:05 +00:00
Martin Gräßlin
2830385a40
The assert for popRenderTarget in kwinshadereffect caused the kwin freezes as if assert has not been compiled in, the fbo will never be detached. So now we have working looking glass and sharpen effect back.
...
BUG: 183981
svn path=/trunk/KDE/kdebase/workspace/; revision=960039
2009-04-27 20:02:22 +00:00
Martin Gräßlin
8f19fcd767
Put OpenGL commands in magnifier in #ifdef KWIN_HAVE_OPENGL_COMPOSITING and effects->compositingType() == KWin::OpenGLCompositing.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=960004
2009-04-27 18:34:05 +00:00
Martin Gräßlin
1b728c3337
Trigger a full repaint when mouse moves in magnifier effect. This is a slight overhead but fast mouse movements caused artefacts as some change events were lost.
...
BUG: 187658
svn path=/trunk/KDE/kdebase/workspace/; revision=959982
2009-04-27 17:36:20 +00:00
Aaron J. Seigo
815c7c25a0
make the context menus in the taskbar and the window manager consistent again; put Advanced at the bottom of the list since it is, well, advanced, implying that the other options are more common
...
BUG:190823
svn path=/trunk/KDE/kdebase/workspace/; revision=959979
2009-04-27 17:30:33 +00:00
Michael Zanetti
33d2f0398b
work with windows on all desktops
...
BUG: 190840
svn path=/trunk/KDE/kdebase/workspace/; revision=959955
2009-04-27 16:15:08 +00:00
Adriaan de Groot
c6c6af61a6
repaintShadow() isn't a const function, so don't cast that way.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=959931
2009-04-27 15:14:29 +00:00
Adriaan de Groot
76a819be63
Disambiguate std::sqrt
...
svn path=/trunk/KDE/kdebase/workspace/; revision=959929
2009-04-27 15:13:18 +00:00
Michael Zanetti
000b7bed5c
eliminate flickering + minor fixes
...
svn path=/trunk/KDE/kdebase/workspace/; revision=959854
2009-04-27 12:57:52 +00:00
Martin Gräßlin
144f578a5d
Cylinder and Sphere use new setting of texture width and height. For that renaming windowWidth and windowHeight to textureWidth/Height. So finally the new argb decos work with cylinder and sphere.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=959842
2009-04-27 11:35:35 +00:00
Martin Gräßlin
c0a20bd38f
Shadow sets texture width and height if there is a shader bound.
...
BUG: 188352
svn path=/trunk/KDE/kdebase/workspace/; revision=959837
2009-04-27 11:12:20 +00:00
Martin Gräßlin
0ff09244f1
Taskbarthumbnail sets texture width and height if there is a shader bound.
...
BUG: 190061
svn path=/trunk/KDE/kdebase/workspace/; revision=959836
2009-04-27 11:10:08 +00:00
Martin Gräßlin
d7665af4f0
Texture width and height is stored in GLShader and the uniform value is set during prepareShaderRenderStates in scene_opengl. So the effects do not have to set the uniform manually. This is useful as other effects can still set this uniform if something different is rendered with a different texture width/height (e.g. shadows or thumbnails). When the window is finally rendered the original value set by the effect is definatelly used.
...
First effect to use this new way to set texture width and height is invert effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=959835
2009-04-27 11:07:15 +00:00
Martin Gräßlin
7991f3e99d
Ati changed the OpenGL version string. It used to be in the first part, now it is in the second part encapsulated in parenthesis. So new driver versions are now recognized again. Looking forward to the next change.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=959824
2009-04-27 10:12:12 +00:00
Stephan Binner
9bc4d36e85
i18n style guide fixes: http://techbase.kde.org/Projects/Usability/HIG/Capitalization
...
svn path=/trunk/KDE/kdebase/workspace/; revision=959655
2009-04-26 19:40:38 +00:00
David Nadlinger
13b1a0580d
Removed stale connect() – it was causing a runtime warning since compositingModeChanged() does not exist any more.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=959605
2009-04-26 17:04:41 +00:00
Christoph Feck
d06ac8ac27
Fix layout
...
svn path=/trunk/KDE/kdebase/workspace/; revision=959342
2009-04-26 03:41:18 +00:00
Script Kiddy
9c6f4d4d90
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=959206
2009-04-25 17:49:11 +00:00
Luboš Luňák
322dd7abe9
Don't log the X error handler message in non-debug builds,
...
it's getting tiring seeing users refer to these "errors".
svn path=/trunk/KDE/kdebase/workspace/; revision=958739
2009-04-24 14:45:13 +00:00
Script Kiddy
4d801d5d4f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=958687
2009-04-24 13:52:23 +00:00
Script Kiddy
680a40a623
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=958205
2009-04-23 14:12:32 +00:00
Martin Gräßlin
1c45f2a2d8
Forgot to add the changes to client for argb decoration (rev 957681)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=957718
2009-04-22 19:00:51 +00:00
Fredrik Höglund
9ed7360157
Don't call updateButtons() from paintEvent().
...
svn path=/trunk/KDE/kdebase/workspace/; revision=957684
2009-04-22 17:33:26 +00:00
Martin Gräßlin
dabc9f0353
OpenGL part of ARGB decorations. See revision 957680 for more information.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=957681
2009-04-22 17:30:49 +00:00
Fredrik Höglund
e92aab0518
Implement initial support for ARGB window decorations.
...
Based on earlier work done by Lubos Lunak and ideas by Lucas Murray.
svn path=/trunk/KDE/kdebase/workspace/; revision=957680
2009-04-22 17:29:56 +00:00
Fredrik Höglund
43856dc300
Fix a coding style issue.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=957672
2009-04-22 17:22:40 +00:00
Script Kiddy
f2ecd39b22
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=957596
2009-04-22 15:11:45 +00:00
Michael Zanetti
95cb1b2744
behave better with modal windows
...
svn path=/trunk/KDE/kdebase/workspace/; revision=957551
2009-04-22 12:49:28 +00:00
Michael Zanetti
a5d8b15573
bahave better if the user moves the window while changing the stacking
...
order
svn path=/trunk/KDE/kdebase/workspace/; revision=957532
2009-04-22 11:24:19 +00:00
Christoph Feck
3068e52b1f
SVN_SILENT Cleanup .ui files
...
This removes (as discussed on k-c-d)
* obsolete <pixmapfunction>
* deprecated <layoutdefault>
* empty <author>, <comment>, <exportmacro>
svn path=/trunk/KDE/kdebase/workspace/; revision=957373
2009-04-21 21:50:34 +00:00
Script Kiddy
882a759c2e
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=957154
2009-04-21 13:52:05 +00:00
Michael Zanetti
713e3b0c61
slide further away if the user moves the active window
...
svn path=/trunk/KDE/kdebase/workspace/; revision=956891
2009-04-20 21:19:14 +00:00
Script Kiddy
6396ee5be6
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=956738
2009-04-20 14:12:26 +00:00
Martin Gräßlin
3f4b77e0ea
Pass opacity, brightness and saturation from shadow to a bound shader. So the shadow won't be a solid brick when a shader (e.g. invert) is active.
...
CCBUG: 188352
svn path=/trunk/KDE/kdebase/workspace/; revision=956600
2009-04-20 11:33:06 +00:00
Martin Gräßlin
3e56e98281
Use opacity, brighness and saturation in shader for cylinder and sphere. That allows to have dimmed windows in these effects and correct window opacity.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=956595
2009-04-20 11:07:47 +00:00
Script Kiddy
1b59bb1efc
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=955783
2009-04-18 14:40:06 +00:00
Martin Gräßlin
63edbaff81
Show current compositing state (disabled/suspended/active) in Desktop Effects KCM and add a button to resume/suspend compositing. So it should be easier for the user to resume compositing if he does not know about the shortcut.
...
CCBUG: 188118
svn path=/trunk/KDE/kdebase/workspace/; revision=955636
2009-04-18 10:07:16 +00:00
Script Kiddy
f199007952
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=955381
2009-04-17 13:22:59 +00:00