Commit Graph

8915 Commits (83affb0d813135f675e093fdc633f6ce4e7ce93c)

Author SHA1 Message Date
Script Kiddy 475fdc6743 SVN_SILENT made messages (.desktop file) 2012-02-07 16:49:58 +01:00
Philipp Knechtges 55a75da893 kwin: fixing xrender shadow bug
This fixes a xrender shadow bug, which was introduced in commmit
7a8398f80ec0aa67ed1102cded2bbb45d7736ecb.

Many thx to Jacopo De Simoi.
2012-02-07 10:46:17 +01:00
Frederik Schwarzer e7b997fcc2 Replace exclamation marks. 2012-02-05 20:26:56 +01:00
Martin Gräßlin 05cd97c746 Enable Blur by default for SandyBridge
REVIEW: 103852
2012-02-04 11:25:16 +01:00
Martin Gräßlin 139c5bf58b Allow Lanczos for SandyBridge 2012-02-04 11:25:15 +01:00
Martin Gräßlin 9c174905d3 Merge branch 'KDE/4.8' 2012-02-04 11:24:49 +01:00
Martin Gräßlin 90e59121dc Properly detect SandyBridge chipsets in GLPlattorm 2012-02-04 11:24:18 +01:00
Thomas Lübking 3b05369ebb Merge branch 'KDE/4.8' 2012-02-04 00:14:58 +01:00
Thomas Lübking 993f4ba583 Revert "skip double focus taking"
The commit actually introduced an windowEvent processing for new created clients
and caused

BUG: 290392
FIXED-IN: 4.8.1

This makes the original code a bit more straight and less confusing and
effectively reverts commit ce97e4fd586ff225f2b2e8c5042baf6821bc52c0.
2012-02-04 00:12:45 +01:00
Thomas Lübking b2c81216a2 Update decoration buttons when motif hint on the closability changes
BUG: 246422
2012-02-03 19:56:18 +01:00
Marco Martin 2e7dbd232e fix layout 2012-02-02 16:23:34 +01:00
Alex Fiestas bd40019b13 Merge branch 'master' of git://anongit.kde.org/kde-workspace 2012-02-02 16:14:01 +01:00
Alex Fiestas e4b835c65a Merge branch 'KDE/4.8' 2012-02-02 16:13:52 +01:00
Alex Fiestas 823900e751 Merge branch 'KDE/4.8' 2012-02-01 14:01:43 +01:00
Script Kiddy 336a90e278 SVN_SILENT made messages (.desktop file) 2012-02-01 10:19:04 +01:00
Philipp Knechtges f5b5e5c8d0 kwin: cleaning up the GLTexture API 2012-01-31 23:10:58 +01:00
Philipp Knechtges ca8484eff7 kwin: avoid unnecessary texture binds
In cases where we do neither update nor render textures
we don't have to bind them.
2012-01-31 23:10:57 +01:00
Philipp Knechtges 59c8ce32c1 kwin: dropping LOD bias 2012-01-31 23:10:57 +01:00
Philipp Knechtges 87bcabdf99 kwin: improving the texture update handling
This patch changes the behavior of strictly bound textures such that
they are only updated if the corresponding window has been damaged.
Additionally GLTexture now keeps track of the current filter and
wrapmode setting.

REVIEW: 103655
2012-01-31 23:09:58 +01:00
Script Kiddy 5fde665578 SVN_SILENT made messages (.desktop file) 2012-01-31 16:24:28 +01:00
Marco Martin 8050ec0185 fix thumbnail position/size to not cover text 2012-01-31 15:57:38 +01:00
Philipp Knechtges 044ffb3a4b kwin: fix Outline::hide() bug
Unless the mouse pointer is not next to an electric border kwin calls
Outline::hide() on every move/resize event. To avoid unnecessary
repaints we now check whether the outline has been visible or not.
2012-01-31 14:34:04 +01:00
Script Kiddy fab916f474 SVN_SILENT made messages (.desktop file) 2012-01-30 16:32:18 +01:00
Script Kiddy 6750f8907e SVN_SILENT made messages (.desktop file) 2012-01-30 11:46:01 +01:00
Yuri Chornoivan 42aa574e6b fix various typos 2012-01-29 12:39:02 +02:00
Montel Laurent e41182af18 Fix compile with strict order 2012-01-28 13:23:44 +01:00
Martin Gräßlin f14b2572bf Improve generation of previews code
The layout text is only required for native decorations.
2012-01-27 11:21:30 +01:00
Martin Gräßlin 128ab01c8f Use invoke method for addRepaint* methods
REVIEW: 103567
2012-01-27 08:28:37 +01:00
Martin Gräßlin a38faa4329 Add visibleInClientGroup property 2012-01-27 08:25:21 +01:00
Martin Gräßlin 20add1c656 Add property shaped for hasOwnShape method
Inclusive notify signal.
2012-01-27 08:24:15 +01:00
Martin Gräßlin bfdcbe60f5 Turn isManaged and isDeleted into properties on Toplevel
Property invokes virtual methods returning false by default. Deleted
reimplements the isDeleted and returns true. Client returns true for
isClient. Method is not called isManaged as this is already used
inside Client.
2012-01-27 08:21:53 +01:00
Martin Gräßlin 18f64bd36d Use invokeMethod for closeWindow 2012-01-27 08:21:52 +01:00
Martin Gräßlin a348df0d34 Use properties in EffectWindow where possible instead of inheritance
If possible use the property to Toplevel or Client instead of the
pure virtual methods. This makes it easier to get a stable ABI.
Adding new methods to the class no longer requires to add a pure
virtual method.

From a performance point of view this change should not matter.
Most EffectWindow methods are not invoked during the repaint chain.
But only in response to an event like a window got added. There the
overhead does not really matter as well the previous implementation
made strong use of dynamic casts which are also not knwon for being
very fast.
2012-01-27 08:21:52 +01:00
Martin Gräßlin 3c59983589 EffectWindow becomes a QObject 2012-01-27 08:21:52 +01:00
Martin Gräßlin 1ed900552b Remove test effects
Most effects would not compile anymopre as they are not adjusted
to changes in the effect system (e.g. change to slots).

Also we have enough proper effects to no longer need some demo or
howto effects.

REVIEW: 103744
2012-01-27 08:20:01 +01:00
Martin Gräßlin f5b93b0159 Remove scene basic
Was never used and it is unlikely that it would work at all after
all the changes over the last years.
2012-01-27 08:19:00 +01:00
Martin Gräßlin 70828a3ee4 Some more properties on Client
* Read-only: minSize/maxSize
* Read-write: noBorder
2012-01-27 08:08:00 +01:00
Martin Gräßlin 6185bf00d3 Export useraction slots to scripting
All slots not requiring to be triggered from a QAction are exported.
This means that switchToDesktop is not exported but also not required,
as we have this through the properties.

Needs documentation...
2012-01-27 07:35:40 +01:00
Stefano Avallone 2008982069 Add a Minimized combo box to TabBox
This allows to select whether TabBox should exclude minimized windows,
or only show minimized windows or just don't care about minimized windows.
This is the default and the behavior as it used to be.

Signed-off-by: Stefano Avallone <stavallo@unina.it>

REVIEW: 103698
2012-01-27 07:03:33 +01:00
Martin Gräßlin 651a0cca47 Export clientArea methods to scripting
For this a new MetaObject "KWin" is exported to have the
enum ClientAreaOption available in scripts. Unfortunately this
requires duplicating the enum from kwinglobals.h.
2012-01-26 22:56:24 +01:00
Martin Gräßlin cf5b70bd2c Export displayWidth/height/size as properties of workspace 2012-01-26 16:53:07 +01:00
Martin Gräßlin 55088ba776 Remove repetitive code in WorkspaceWrapper 2012-01-26 08:37:38 +01:00
Martin Gräßlin 26d069981d Add property for number of desktops to scripting
Adding macros to define the wraping code.
2012-01-26 08:37:25 +01:00
Thomas Lübking 7b3c58280b Support withdrawal of shadows
The Oxygen deco uses this to remove built-in shadows from decorated windows when adding (legacy...) decoration shadows

CCBUG: 291774
REVIEW: 103751
(cherry picked from commit a97bdc64fa2a676f99738abd371a99126fb8e93d)
2012-01-25 00:21:07 +01:00
Thomas Lübking 7acf1330bd Support withdrawal of shadows
The Oxygen deco uses this to remove built-in shadows from decorated windows when adding (legacy...) decoration shadows

CCBUG: 291774
REVIEW: 103751
2012-01-24 23:07:20 +01:00
Thomas Lübking 4d7161dd75 Delay added signal and other signal bindings for synced windows until the window is actually visually shown
Makes animations of showing windows run completely and thus appear smoother

REVIEW: 103742
2012-01-24 22:43:10 +01:00
Thomas Lübking 3704163a11 Fix indirect(?) wm_take_focus(?) handling
See review request for details, issue might be caused by plasma cashew popup

BUG: 240673
REVIEW: 103700
2012-01-24 22:43:07 +01:00
Thomas Lübking 19fceb5216 add GUI config for graphicssystem
REVIEW: 103431
2012-01-24 22:42:49 +01:00
Thomas Lübking d845b60c6c change geometry w/o compositor restart
This possibly fails on some (older?) ati chip/driver combos
-> Waiting for bugreports

REVIEW: 103246
2012-01-24 22:27:15 +01:00
Script Kiddy a94932475c SVN_SILENT made messages (.desktop file) 2012-01-23 09:42:47 +01:00