Commit graph

8661 commits

Author SHA1 Message Date
Script Kiddy
e9ef4b8600 SVN_SILENT made messages (.desktop file) 2011-10-13 08:48:12 +02:00
Philipp Knechtges
5c7f919bbf kwin: updating comments on the blur texture cache 2011-10-12 16:02:19 +02:00
Philipp Knechtges
b6c27a17b0 kwin: bugfix blur effect
This commit fixes the bug, that the blur texture cache is not marked invalid
when the related XProperty changes.

BUG: 283818
2011-10-12 15:16:46 +02:00
Thomas Lübking
8f81339bca fix xrender scale+shadowed toplevel geometry
(cherry picked from commit 01ea7ad7f2a97924f4b6ee41adde01eef27b6e8b)

REVIEW: 102703
FIXED-IN: 4.7.3
2011-10-10 20:49:01 +02:00
Thomas Lübking
770df8c66b Force input replay for non activatable windows
BUG: 283474
REVIEW: 102795
FIXED-IN: 4.8
2011-10-10 20:47:00 +02:00
Thomas Lübking
2a84ba0094 don't scale highlighted window in present windows during de/activation
BUG: 283481
it's even worse, since it interferes with generally upscaled windows
(keeps them big, applies false transition and causes a final snapback)
and windata->highlight doesn't end at zero, so the entire screen is
still a little scaled when the effect ends (and snaps down afterwards)

now it snaps down when starting the leave what is better in general
and the only usable solution for upscaled windows.
some day presentwindows might be derived from the yet-to-add
animationeffect class ;-)
2011-10-06 22:47:29 +02:00
Thomas Lübking
9ec32d5942 4.7 backportable rules ui fixes
remove uncertain "extra role" match
fix shortcut editor s/s connection

REVIEW: 7001
2011-10-05 23:54:06 +02:00
Hugo Pereira Da Costa
885e42142f Fixed glow animation for outlined windows. 2011-10-05 23:01:13 +02:00
Hugo Pereira Da Costa
066927ebfb More fine tuning of window borders in outline mode. 2011-10-05 19:56:00 +02:00
Hugo Pereira Da Costa
e8addb2596 Turn off antialiasing when rendering window outline borders.
CCBUG: 283398
2011-10-05 18:55:45 +02:00
Luboš Luňák
1876e8fd01 ensure that moving between screens does not involve unrelated struts 2011-10-04 11:41:27 +02:00
Luboš Luňák
0efbcdb1fa optimize updateVisibility() when not showing the desktop 2011-10-04 10:33:51 +02:00
Philipp Knechtges
b6478e1b12 kwin: Optimizing Blur Part III
This patch introduces some kind of damage propagation. In the old version of the blur effect
we had to repaint the whole window if sth behind the blurred area was damaged. The new texture
cache, which was introduced by the last patch, gives us the opportunity to only update parts of
blurred background texture. This means that the damaged area can only propagate with the speed
of the blurring radius per window layer.

REVIEW: 102665
2011-10-02 14:47:03 +02:00
Andriy Rysin
4317ca8e88 Revert "Make kwin compile without OpenGL libs"
This reverts commit 940db4e348cf3ee016df04484616df7599504863.
2011-09-30 18:30:49 -04:00
Luboš Luňák
81ac707969 with separate focus for screens, don't change screens on desktop change 2011-09-30 19:24:42 +02:00
Luboš Luňák
2f1bb4f4a3 do not access possibly deleted memory 2011-09-30 19:24:42 +02:00
Luboš Luňák
e6fa2e4311 fix off-by-one test 2011-09-30 19:24:42 +02:00
Luboš Luňák
898052f3d5 better window position when moving a window between screens 2011-09-30 17:10:57 +02:00
Luboš Luňák
1030bcd7f3 keep windows inside workarea if they were there before workarea changes 2011-09-30 17:10:57 +02:00
Luboš Luňák
40744b6b11 use old screen sizes when calculating old window positions on screen size changes 2011-09-30 17:10:57 +02:00
Script Kiddy
2e7a1bfbf9 SVN_SILENT made messages (.desktop file) 2011-09-30 09:38:18 +02:00
Andriy Rysin
e94f58dd1b Make kwin compile without OpenGL libs
REVIEW: 101418
2011-09-29 23:27:16 -04:00
Marco Martin
35c405b586 Merge branch 'master' into ksplash/ksplash-qml 2011-09-29 19:01:40 +02:00
Luboš Luňák
3bd58d49fa so much for copy&pasting a function name 2011-09-29 18:30:20 +02:00
Luboš Luňák
191b03be1b gee, is this come-up-with-the-most-useless-variable-name competition or what?
And they are both pointless anyway, simplify code.
2011-09-29 18:30:20 +02:00
Luboš Luňák
07e3dff871 make checkWorkspacePosition() work also on desktop/screen change
It previously worked only when struts changed, this makes it work
e.g. when moving a window between desktops that have different
struts, or when sending a windows between differently sized screens.
2011-09-29 18:30:20 +02:00
Luboš Luňák
8edf542bb7 remove a function that should have been removed in d105478abf33474fa18e6bb1e80d09a1911f42e4 2011-09-29 18:30:20 +02:00
Luboš Luňák
c47de96716 fix overzealous optimizations leading to dangling references to temporaries 2011-09-29 18:30:20 +02:00
Luboš Luňák
2202be232b Revert "rules must never be null"
This reverts commit 169a3d887d58aaaae7457a8ae3003478b78e8f3b.
2011-09-29 16:22:24 +02:00
Luboš Luňák
87a7c0f851 Revert "fix commit 169a3d88, restoring the parameter is good, asserting it not"
This reverts commit 80f8a7b9f40ed48adbd5277b1f58e1651700b56c.
2011-09-29 16:22:24 +02:00
Luboš Luňák
ede01e1702 the Qt idiom is that out parameters are pointers 2011-09-29 16:22:24 +02:00
Martin Gräßlin
38d760c960 Only push shader when Cube effect is active
This caused situations in which the shader was pushed but never
popped from the stack as for the latter case there was a check
whether the effect is active.

BUG: 280455
2011-09-27 17:42:20 +02:00
Thomas Lübking
ed216df8e3 fix commit 169a3d88, restoring the parameter is good, asserting it not 2011-09-26 15:16:15 +02:00
Marco Martin
a95019e713 Merge branch 'master' into ksplash/ksplash-qml 2011-09-26 14:11:29 +02:00
Thomas Lübking
8c668e6126 fix tabbing ./. utility hiding
BUG: 225500
REVIEW: 102699
2011-09-25 17:52:05 +02:00
Thomas Lübking
51ef7518dd add EffectWindow::windowType 2011-09-25 15:08:35 +02:00
Hugo Pereira Da Costa
f435f716b8 do not paint buttons (from parent) if hidden. 2011-09-23 15:46:29 +02:00
Hugo Pereira Da Costa
c9ed76be6f set bottom border to zero when shading windows. This makes buttons and title vertically
centered.
2011-09-22 22:28:24 +02:00
Hugo Pereira Da Costa
acf1ba4717 keep button hover state even when pressed. 2011-09-22 22:22:37 +02:00
Philipp Knechtges
9d6c9d521f kwin: bugfix for taskbarthumbnail and slide effect interplay
This patch avoids that the thumbnails slide when the desktop is changed.

REVIEW: 102675
2011-09-22 18:21:29 +02:00
Sebastian Kügler
c6c800b451 Repaint the whole window in the taskbar thumbnail
this really kills my windowstrip artifacts
2011-09-22 11:26:05 +02:00
Hugo Pereira Da Costa
f931cd22f9 Use Client::layoutMetric to access shadowSize instead of shadowCache. This fixes some painting issues for maximized
windows.
2011-09-20 14:08:34 +02:00
Hugo Pereira Da Costa
f2e93e1b73 Revert "fine tune button shadows."
This reverts commit 8c2841a58f75466c5ad87aff35bad8859f9c6822.
2011-09-20 09:14:24 +02:00
Hugo Pereira Da Costa
c62bd64896 fine tune button shadows. 2011-09-20 09:10:09 +02:00
Hugo Pereira Da Costa
2ced9ec941 added comments in ::paintEvent. 2011-09-20 09:09:42 +02:00
Hugo Pereira Da Costa
e5446c8934 Merge branch 'master-deco' 2011-09-19 17:28:48 +02:00
Sebastian Kügler
224f8a78e7 Merge branch 'master' of git://anongit.kde.org/kde-workspace 2011-09-19 17:09:26 +02:00
Sebastian Kügler
c9e42abcc4 Repaint old area of the thumbnail
Fixes repaint issue in Active's windowstrip.

Made up by Martin

BUG:282150
2011-09-19 17:07:58 +02:00
Hugo Pereira Da Costa
58e2393d56 re-ordered button.
No "parentUpdate" in non-compositing mode (cause unneeded)
2011-09-19 16:23:29 +02:00
Hugo Pereira Da Costa
e22573e586 buttons 2011-09-19 15:31:18 +02:00