Commit Graph

8317 Commits (6d96696898a77707e7b3f391150bd7197269f7fd)

Author SHA1 Message Date
Hugo Pereira Da Costa 6d96696898 Merge branch 'master' of git.kde.org:kde-workspace 2011-07-21 16:07:31 +02:00
Hugo Pereira Da Costa 14e876e4b6 changed animation text, for clarity. 2011-07-21 16:06:58 +02:00
Script Kiddy 9b8404279b SVN_SILENT made messages (.desktop file) 2011-07-21 09:27:01 +02:00
Martin Gräßlin 9c9ed80a2b Add environment variable to enforce Lanczos Filter
By setting KWIN_FORCE_LANCZOS=1 the settings and
driver check are overwritten.

This should help to test mesa bug 33275
(https://bugs.freedesktop.org/show_bug.cgi?id=33275)
2011-07-20 22:41:58 +02:00
Script Kiddy 2566d184c4 SVN_SILENT made messages (.desktop file) 2011-07-20 09:24:14 +02:00
Hugo Pereira Da Costa bb769a9eb6 moved method from private to protected. 2011-07-18 12:20:58 +02:00
Hugo Pereira Da Costa 3637caf68c minor code cleanup. 2011-07-18 10:21:17 +02:00
Hugo Pereira Da Costa 43cae07762 fixed saving of animations configuration based on expertMode(). 2011-07-18 10:09:22 +02:00
Hugo Pereira Da Costa 9f12ecd91d fix updateChanged() method. 2011-07-18 10:06:13 +02:00
Hugo Pereira Da Costa 4e7364d9df nothing. 2011-07-18 10:06:05 +02:00
Hugo Pereira Da Costa a6ffa920e4 implemented individual animations configuration. 2011-07-18 09:49:15 +02:00
Hugo Pereira Da Costa 92f9181db9 tabulations. 2011-07-18 07:55:17 +02:00
Hugo Pereira Da Costa f75111622b added animation config widget to allow individual animation configuration. 2011-07-18 07:53:41 +02:00
Hugo Pereira Da Costa c21122c863 added necessary options to configure all type of animations individually. 2011-07-18 07:36:44 +02:00
Hugo Pereira Da Costa 6c235bbe1e removed unused header. 2011-07-17 17:55:28 +02:00
Hugo Pereira Da Costa 31d6f0e7ac tabulations. 2011-07-17 16:27:51 +02:00
Hugo Pereira Da Costa 0ae4d9489f always enable window grouping, when available.
removed corresponding config option.
2011-07-17 16:12:30 +02:00
Hugo Pereira Da Costa 7ca4d15919 use QWeakPointer (and explicit deletion, if needed) instead of QSharedPointer
CCBUG: 277925
2011-07-17 15:49:16 +02:00
Hugo Pereira Da Costa 5c95478e56 removed shadowCacheMode option.
Default mode (variable) is what's kept.
2011-07-17 13:13:44 +02:00
Thomas Lübking 335dd073cd emit clientFinishUserMovedResized when a client is closed during moveResize
BUG: 277784
2011-07-16 14:23:54 +02:00
Arthur Arlt 5d2f8356f4 Make reconfigure() a Q_SLOT
make reconfigure() a Q_SLOT and connect to the signal configChanged()
of class Workspace.

REVIEW: 101942
2011-07-15 22:23:29 +02:00
Arthur Arlt c1c883a8a7 Introduce new signal configChanged() to Workspace
To get rid of direct method calls and numerous #ifdefs a new signal
configChanged() is introduced to class Workspace. Every module
which is interested in reloading the configuration is needed to connect to
this signal.
Initially this is done for the reconfiguration of DesktopChangeOSD().
2011-07-15 22:05:38 +02:00
Arthur Arlt 3d2f0c8ace Make numberDesktopsChanged() a Q_SLOT
Since there still is a signal available in class Workspace which is
emitted if the number of desktops has changed, we now make use of it
by transforming numberDesktopsChanged() into a Q_SLOT. It is connected
to the appropriate signal and all direct method calls from Workspace were
removed.

REVIEW: 101932
2011-07-15 22:01:09 +02:00
Arthur Arlt 7b86e7f1c3 Introduce a build option for DesktopChangeOSD
A build option is introduces whether the DesktopChangeOSD functionality
should be built or not. It is set to ON by default.
2011-07-15 21:58:30 +02:00
Arthur Arlt ad2fb989cc Make desktopChanged() a slot
The method desktopChanged() was formerly called direcly and is now a slot,
which is connected with the signal currentDesktopChanged().
2011-07-15 21:58:30 +02:00
Fredrik Höglund 8c430e22b6 kwin: Add the Sumo and Cayman chipsets 2011-07-15 18:56:15 +02:00
Fredrik Höglund 31ea6ff0b8 kwin: Reorder the Evergreen chipsets to match the order in r600g 2011-07-15 18:51:54 +02:00
Fredrik Höglund 7f4709b4ea kwin: Whitespace fixes 2011-07-15 18:47:52 +02:00
Martin Gräßlin f89ba7a382 Move tabbox.(h|cpp) to tabbox sub directory 2011-07-15 17:22:41 +02:00
Philipp Knechtges fc5e74f4e2 kwin: make decoration repaints window-specific
This gives the new Scene::paintSimpleScreen more room for optimizations.
2011-07-15 10:27:11 +02:00
Script Kiddy 7025e72d87 SVN_SILENT made messages (.desktop file) 2011-07-15 09:21:33 +02:00
Philipp Knechtges afe8048afd kwin: optimizing the blur effect
This patch adds the capability to draw blurred region top to bottom using
paintSimpleScreen.

REVIEW: 101898
2011-07-14 14:20:56 +02:00
Philipp Knechtges a145fa564c kwin: fix an issue in paintSimpleScreen
Damaged windows for which painting is disabled should not be considered.
2011-07-14 14:17:33 +02:00
Thomas Lübking f0492f9b02 fix shadow fix
(cherry picked from commit 55986b32de9e5f5f66ac0c3448b26863cfc2dee0)
2011-07-13 23:08:03 +02:00
Montel Laurent de0a1406a0 Fix compile warning 2011-07-13 21:47:44 +02:00
Script Kiddy 1eb1c85289 SVN_SILENT made messages (.desktop file) 2011-07-13 09:17:45 +02:00
Thomas Lübking d20b841713 fix GL-less kwin compilation
BUG: 277667
2011-07-13 04:09:35 +02:00
Thomas Lübking 7057bb2c25 fix new shadows
(cherry picked from commit 6f03f28509834cb145b8548dfd0322cc6d62364f)
2011-07-12 22:20:21 +02:00
Martin Gräßlin 9cb53d5d30 Create TabBoxView when first used
When effects are active we never need the "classic" TabBoxView.
Nevertheless it was always created when KWin started up. By
delaying the creation some ressources should be saved if the user
only uses effects.

REVIEW: 101897
2011-07-12 21:02:57 +02:00
Martin Gräßlin 2ce4d166a1 Move loading of the TabBox Config XML into a thread
This should improve the KWin startup time as some IO is moved
into another thread. Till the config is loaded the TabBox blocks
all signals to activate the TabBox, but it is unlikely that alt+tab
is tried to be used before KWin is completely started.
2011-07-12 21:02:48 +02:00
Albert Astals Cid 74c816832a Add ExtraDestkop.sh files
For files that are desktop-like but do not have a .desktop extension
2011-07-12 16:46:09 +01:00
Script Kiddy 4eba738a3f SVN_SILENT made messages (.desktop file) 2011-07-12 10:36:56 +02:00
Philipp Knechtges 85c5181a81 kwin: Avoid painting damaged areas which are occluded by another opaque window.
So far we have not used the information that damage events are window-specific, resulting in the
behavior that we repainted the damaged area although it might be hidden behind another window.
E.g. the CPU-Monitor plasmoid is almost all day occluded by a browser etc. and before this patch
we have been repainting the appropiate area every time the plasmoid has been updated.

Thx to Thomas Lübking for optimizing the patch.

REVIEW: 101846
2011-07-11 19:35:29 +02:00
Martin Gräßlin b4de899b2c Fix broken creation of OverlayWindow
The HAVE_XCOMPOSITE_OVERLAY define had not been moved to the new
overlaywindow.cpp file causing the OverlayWindow to not be created
at all. In fact after moving the define to the new file the code
did not even compile as that code parts still used m_overlayWindow
instead of m_window.

The regression would have been easy to spot when testing with all
backends as the GLES/EGL backend still requires the overlay window.

CCMAIL: a.arlt@stud.uni-heidelberg.de
2011-07-11 19:12:56 +02:00
Philipp Knechtges b44580f02e kwin: dont gather scheduled decoration repaints
Instead of scheduling and gathering the Workspace::addRepaint calls at the end of the main loop
we directly emit the signal which ends up in a call to addRepaint. The compositeTimer assures
that the higher number of scheduled repaints are executed in the same rendering pass.
2011-07-11 18:47:36 +02:00
Script Kiddy c6bec41e07 SVN_SILENT made messages (.desktop file) 2011-07-11 10:56:30 +02:00
Martin Gräßlin 32a82141f0 Adding a build option for KWin Scripting
It is possible that adding this build option broke the Scripting
component. This is something that should not happen. Unfortunately
by just ifdefing everything scripting related with scripting enabled
we have build errors. These are caused by the fact that the scripting
code includes e.g. client.h through "./../client.h". At one offending
place I changed that to "client.h", but there is also a client.h in
the scripting directory.

The includes and naming of the scripting files clearly have to be fixed!
2011-07-10 10:48:25 +02:00
Martin Gräßlin 062b117919 QtXML library only needed by tabbox 2011-07-10 10:02:46 +02:00
Thomas Lübking 05cbf3f1ca correct workspace position in case of quicktiling or touching the border when the decoration padding changes 2011-07-10 02:24:54 +02:00
Thomas Lübking 9442855834 protect scene access, fix instant segfault when non compositing 2011-07-10 01:25:41 +02:00