Commit graph

5862 commits

Author SHA1 Message Date
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
Script Kiddy
2d1302b722 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=954905
2009-04-16 13:48:08 +00:00
Script Kiddy
e50340d1e1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=954465
2009-04-15 20:03:14 +00:00
Michael Zanetti
d6a5f717f2 Add new SlideBack effect
svn path=/trunk/KDE/kdebase/workspace/; revision=954446
2009-04-15 19:31:20 +00:00
Script Kiddy
7430c1869a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=953756
2009-04-14 14:13:37 +00:00
Andreas Hartmetz
6cd06aaef7 Remove command-line based hack and version check for graphics system setting, use the new API in 4.5.0 instead. Thank you Trolls.
svn path=/trunk/KDE/kdebase/workspace/; revision=953375
2009-04-13 20:31:03 +00:00
Lucas Murray
466201db06 State in the GUI that minimization breaks when always keeping taskbar
thumbnails updated.
CCBUG: 189435

svn path=/trunk/KDE/kdebase/workspace/; revision=952987
2009-04-13 05:59:02 +00:00
Martin Gräßlin
d1c27ba9a8 Show windows from other desktops in boxswitch in the same way as minimized windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=952826
2009-04-12 16:35:22 +00:00
Script Kiddy
5e9adee3b4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=952747
2009-04-12 13:23:57 +00:00
Albert Astals Cid
e74249083f const & for foreach 'iterators'
svn path=/trunk/KDE/kdebase/workspace/; revision=952187
2009-04-11 11:11:50 +00:00
Script Kiddy
461580ed37 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=952030
2009-04-10 18:06:29 +00:00
Albert Astals Cid
43f2a84f4e leak--
CID: 6200

svn path=/trunk/KDE/kdebase/workspace/; revision=951662
2009-04-09 20:48:44 +00:00
Script Kiddy
f6c036cddb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=951496
2009-04-09 14:05:26 +00:00
Script Kiddy
e0aa1f31cc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=951138
2009-04-08 15:00:04 +00:00