Commit graph

8876 commits

Author SHA1 Message Date
Martin Gräßlin
7c6155a865 Drop xinerama related options
Behavior is now like all xinerama related options are enabled.
There seems to be no valid reasons to run multi screen without
xinerama support and even if a user would wish to do so she can
just disable xinerama in xorg.conf.

Furhtermore thanks to KWin scripting it is possible to achieve the
behavior as it used to be with the options disabled. E.g. it is
possible to span a window in fullscreen mode over all screens.

This change is in accordance to the discussion on kwin and plasma
mailinglists:
http://mail.kde.org/pipermail/plasma-devel/2012-January/018542.html
2012-02-09 16:52:39 +01:00
Philipp Knechtges
311bccaca8 kwin: cleaning up paintGenericScreen and paintScreen 2012-02-09 14:52:47 +01:00
Philipp Knechtges
9f9bde77ad kwin: removing SceneXrender::paintTransformedScreen
It is an unused function which becomes more and more obsolete with a
better support of transformed windows in paintSimpleScreen.
2012-02-09 14:52:46 +01:00
Philipp Knechtges
ba39d1f917 kwin:remove PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_WITHOUT_FULL_REPAINTS
paintSimpleScreen can handle the affected effects now.

REVIEW: 103827
2012-02-09 14:52:25 +01:00
Philipp Knechtges
32a3c49630 kwin: dropping quirk for the pre-4.8 blur 2012-02-09 14:51:53 +01:00
Thomas Lübking
2d99ef918b Only keep fullscreen for transients on top - not random group members
BUG: 293265
REVIEW: 103866
2012-02-08 20:21:12 +01:00
Thomas Lübking
b052f6429f Merge branch 'KDE/4.8' 2012-02-08 20:19:41 +01:00
Thomas Lübking
7d17a29826 secure closeView NULL pointer access
BUG: 293654
2012-02-08 19:46:48 +01:00
Philipp Knechtges
8e83484eec Merge remote-tracking branch 'origin/KDE/4.8' 2012-02-08 16:47:51 +01:00
Philipp Knechtges
6f3b9fae2a kwin: fixing _NET_WM_OPAQUE_REGION related bug
The initial implementation forgot to consider the client borders.

BUG: 293574
FIXED-IN: 4.8.1
2012-02-08 16:41:02 +01:00
Script Kiddy
adc4dd6a2e SVN_SILENT made messages (.desktop file) 2012-02-08 09:47:25 +01:00
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