Commit graph

8461 commits

Author SHA1 Message Date
Hugo Pereira Da Costa
e22573e586 buttons 2011-09-19 15:31:18 +02:00
Hugo Pereira Da Costa
b8a767e3cf properly update parent when button state is changed. 2011-09-19 15:20:07 +02:00
Hugo Pereira Da Costa
01da5bb015 moved all button painting to client. 2011-09-19 15:16:43 +02:00
Hugo Pereira Da Costa
984f6d6305 Merge branch 'master' into master-deco 2011-09-19 13:05:55 +02:00
Philipp Knechtges
ef9aeafe0d kwin: Optimizing Blur Part II
This patch adds an optional texture cache to the blur effect such that damaged windows in
front of the blurred region dont trigger a repaint of the whole blurred region which pretty
often results in a avalanche repaint of nearly the whole screen.

REVIEW: 101977
2011-09-18 02:01:31 +02:00
Martin Gräßlin
fcbd22ad36 Workaround repaint issue in blur effect with GLES
This is actually a bloody hack by forcing the screen to be
repainted in each frame. This needs to be fixed in a different
way or we at least have to turn blur off by default for GLES in
the next release.
2011-09-17 20:01:59 +02:00
Hugo Pereira Da Costa
3f8b4de381 try install better glow. 2011-09-16 18:31:12 +02:00
Hugo Pereira Da Costa
4732070efa only define Shadow in scope where it is used. 2011-09-16 18:26:30 +02:00
Hugo Pereira Da Costa
a05eecf4f0 improved and simplified window decoration buttons. 2011-09-16 17:49:45 +02:00
Hugo Pereira Da Costa
0393983755 use QPainter::setWindow to actually perform scaling. 2011-09-16 17:19:02 +02:00
Hugo Pereira Da Costa
bd6653ef59 Moved painting of windeco buttons to own cache in Style and deco helper;
Simplified decoration windeco buttons painting to use only one cache;
Renamed windeco button painting to dockWidgetButton painting for style.
2011-09-15 23:22:45 +02:00
Hugo Pereira Da Costa
c5365e287a fixed indentation. 2011-09-13 14:19:47 +02:00
Jonathan Marten
17c6b3b2db Make the Walk Through Desktop List and Reverse actions work again
With a comment to explain the non-obvious global shortcut setting.

BUG:279638
REVIEW:102558
2011-09-10 11:39:10 +01:00
Thomas Lübking
622fad3a9f Fix pointer accesses in tiling code
Forward port of http://commits.kde.org/kde-workspace/75021be9184da93c2410b37751bb0b9fdeb5de5a
BUG: 274223
2011-09-10 10:43:02 +02:00
Script Kiddy
f1e6be97f5 SVN_SILENT made messages (.desktop file) 2011-09-10 09:40:55 +02:00
Martin Gräßlin
60c73200f6 Clear thumbnails for deleted windows
REVIEW: 102445
2011-09-10 07:56:58 +02:00
Thomas Lübking
dd05eebbe2 catch changeMaximize recursion from setNoBorder
polluted the restore geometry for unmaximizing from quick maximization when using BorderlessMax'd

CCBUG: 279529
(cherry picked from commit 5ca44bfd7dce34504ff5fdc25818470bc672e358)
2011-09-09 18:24:05 +02:00
Thomas Lübking
c071056913 fix yet another fun-with-pointers tabbing segfault
BUG: 281596
(cherry picked from commit f3ca7234ef4329b45bcd369aa49a70972a754302)
2011-09-09 18:23:50 +02:00
Thomas Lübking
6cd271598e add some missing connects for the ruleswidget
BUG: 281506
(cherry picked from commit 4096d0d1a7b5412eb55f31babbecd23fd37d45bf)
2011-09-09 18:23:35 +02:00
Script Kiddy
4cbbf921d4 SVN_SILENT made messages (.desktop file) 2011-09-09 09:21:44 +02:00
Script Kiddy
157f51ce85 SVN_SILENT made messages (.desktop file) 2011-09-08 09:04:13 +02:00
Martin Gräßlin
96ebc30b29 Fix missing repaint when disabling lookingglass effect 2011-09-07 09:40:57 +02:00
Martin Gräßlin
4ed28ed2b0 Fix crash when ending magnifier effect
How did I test that?...
2011-09-07 09:31:31 +02:00
Philipp Knechtges
0740a01c6a kwin: fix kcm_kwin4_effect_builtins build
Add the missing definition of KWIN_HAVE_OPENGL, which has been a part of kwinconfig.h before.
2011-09-04 18:36:04 +02:00
Script Kiddy
74792cff83 SVN_SILENT made messages (.desktop file) 2011-09-02 09:01:06 +02:00
Martin Gräßlin
e2614ac868 Prevent deep copy of list in foreach loop
KRAZY--
SVN_SILENT
2011-08-31 18:19:28 +02:00
Martin Gräßlin
309b94c10e Add newline at end of file
KRAZY--
SVN_SILENT
2011-08-31 18:16:21 +02:00
Martin Gräßlin
31386d2f25 Drop unused variables
SVN_SILENT
2011-08-31 17:55:04 +02:00
Martin Gräßlin
9930044581 Drop an unimplemented method in Group
We didn't need it for years, so let's remove it and if we
really need it, it's easy to add again.

SVN_SILENT
2011-08-31 07:58:58 +02:00
Martin Gräßlin
eb9de2803a Constify getter
SVN_SILENT
2011-08-31 07:58:49 +02:00
Script Kiddy
a5936fc0fd SVN_SILENT made messages (.desktop file) 2011-08-29 09:36:30 +02:00
Martin Gräßlin
557b3ce0de Optimize Fade Effect
Remove windows from the hash after an animation is finished.
By that it is possible that the FadeEffect goes into an
inactive state.

REVIEW: 102452
2011-08-29 07:08:07 +02:00
Martin Gräßlin
fe4329a252 Only call active effects in the effect chain
Each effect is able to declare itself as currently being active,
that is transforming windows or painting or screen or doing anything
during the current rendered frame.

This change eliminates the hottest path inside KWin identified by
callgrind.

REVIEW: 102449
2011-08-29 07:06:58 +02:00
Martin Gräßlin
5b0d1739c2 Constify methods in MotionManager 2011-08-29 07:06:57 +02:00
Martin Gräßlin
73153c861c Support lower/raise opacity for all modifier+mouse combos
REVIEW: 102377
2011-08-29 07:01:32 +02:00
Martin Gräßlin
cdfd98e926 Drop the opacity menu in KWin useractions menu (Alt+F3)
See discussion on mailinglist:
http://lists.kde.org/?l=kwin&m=131368803718693&w=2

REVIEW: 102376
2011-08-29 06:59:40 +02:00
Martin Gräßlin
2f3c383ecd Add shortcuts to lower/raise opacity
REVIEW: 102374
2011-08-29 06:59:13 +02:00
Martin Gräßlin
6e15c0c208 Change timers to QElapsedTimers
Instead of calculating the elapsed time from epoch clock, using
a QElapsedTimer as well as reusing the timer object instead of
creating a new one in the scene each frame.

REVIEW: 102473
2011-08-29 06:48:44 +02:00
Thomas Lübking
e930a50f8a coding style 2011-08-28 20:25:58 +02:00
Thomas Lübking
9d4a7c3d19 drop ignored damage events from the X11 event queue 2011-08-28 14:23:56 +02:00
Martin Gräßlin
4fb110383d Drop an unused timer 2011-08-28 10:05:00 +02:00
Philipp Knechtges
362357deae Merge branch 'master' of git.kde.org:/kde-workspace 2011-08-27 19:07:50 +02:00
Philipp Knechtges
2dd48de82a kwin: reverting some parts of 73cd2c6fa67e2653a8d9a5e17f0140381d998c19
Might results to some asserts in the debug build and does not play well with other effects.
2011-08-27 19:05:34 +02:00
Melchior FRANZ
0b1dbed749 tabstrip: make outline color configurable 2011-08-27 18:52:40 +02:00
Philipp Knechtges
c12e089b41 kwin: optimizing taskbarthumbnail effect
Corrected some addRepaint calls and dropped the
dependency on paintGenericScreen.
2011-08-27 18:22:05 +02:00
Chusslove Illich (Часлав Илић)
34a397e048 i18n: Contexts. 2011-08-27 11:41:53 +02:00
Script Kiddy
c3004ddc7b SVN_SILENT made messages (.desktop file) 2011-08-27 10:03:17 +02:00
Andre Woebbeking
88a33c67c4 -pedantic 2011-08-27 09:31:38 +02:00
Philipp Knechtges
e81c68fee8 kwin: fix graphical glitches for the nvidia blob
This is a perliminary fix. Should be fixed properly once we have a real statemachine.
2011-08-25 10:29:23 +02:00
Script Kiddy
1b1e72b753 SVN_SILENT made messages (.desktop file) 2011-08-25 09:32:38 +02:00