Martin Gräßlin
2387e701f6
Paint desktop windows only once in multi screen setups as we know that a desktop window is bound to a screen and there is one desktop window per screen.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=891952
2008-12-03 10:56:46 +00:00
Lucas Murray
3a57e33bf6
Fixed bug where some windows were not raised when they were moved.
...
Fixed possible bug when the moving window is deleted.
svn path=/trunk/KDE/kdebase/workspace/; revision=886399
2008-11-19 07:46:01 +00:00
Albert Astals Cid
882b909364
Add const & so we don't copy all that objects for nothing, faster effects for free!
...
svn path=/trunk/KDE/kdebase/workspace/; revision=869928
2008-10-11 12:38:46 +00:00
Luboš Luňák
1d2c54edcc
Support for proper effect reconfiguration instead of reloading them.
...
Fixes e.g. the global animation combo not taking effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=866903
2008-10-02 09:27:32 +00:00
Lucas Murray
269242303f
Added automatic layout mode to the desktop grid effect. Patch based off one by Christian Mollekopf.
...
BUG: 157196
svn path=/trunk/KDE/kdebase/workspace/; revision=857049
2008-09-04 14:37:07 +00:00
Luboš Luňák
06e9798bbe
Animation time 500ms->300ms, half a second is too much.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=854692
2008-08-30 07:28:05 +00:00
Luboš Luňák
2a87593638
Add a global configuration option for animation speed. See description
...
of Effect::animationTime() for how-to-use.
TODO: Effects need to reload config after doing the change in the kcm.
NOTE: Default TimeLine constructor now creates invalid object, it is
necessary to explicitly call setDuration() in order to ensure all
animations respect this setting.
CCMAIL: kwin@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=854690
2008-08-30 07:25:54 +00:00
Lucas Murray
fe4c100195
Improved the desktop grid effect.
...
FEATURE: 163104, 167265, 168557
CCBUG: 156247, 157196, 158787
svn path=/trunk/KDE/kdebase/workspace/; revision=845893
2008-08-12 15:22:06 +00:00
Sebastian Kügler
3ae042aa69
DesktopGrid now uses TimeLine.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=798726
2008-04-19 00:28:35 +00:00
Luboš Luňák
cff2b0e6cd
Abstract paint clipping into PaintClipper helper class that allows
...
stacking of clipping regions.
(http://lists.kde.org/?l=kwin&m=120138051215450&w=2 )
BUG: 156798
svn path=/trunk/KDE/kdebase/workspace/; revision=779045
2008-02-25 11:32:21 +00:00
Adriaan de Groot
214d575aa3
Qt3 -> Qt4 style includes.
...
qdrawutil.h doesn't seem to have a purely Qt4-style equivalent, so including the directory there disambiguates it from the Qt3 header.
svn path=/trunk/KDE/kdebase/workspace/; revision=770116
2008-02-02 20:54:19 +00:00
Martin Gräßlin
414d59ea16
Electric Border handling for desktopgrid effect
...
FEATURE: 155954
svn path=/trunk/KDE/kdebase/workspace/; revision=768124
2008-01-29 13:48:26 +00:00
Luboš Luňák
a66ee67b28
Allow moving of even non-movable windows between virtual desktops using the middle
...
mouse button (and also right button, newly, I guess that one is easier to use).
BUG: 153931
svn path=/trunk/KDE/kdebase/workspace/; revision=749711
2007-12-17 17:27:17 +00:00
Luboš Luňák
0b2a40e150
Act on KeyPress, not KeyRelease, the release may come
...
from the activating shortcut.
svn path=/trunk/KDE/kdebase/workspace/; revision=746327
2007-12-08 17:57:53 +00:00
Luboš Luňák
01bf6cbb4c
License cleanup - add headers where missing, be explicit about GPL
...
being v2+ (right now it says just GPL, which according to GPL itself
means any GPL). Decoration clients will come later.
CCMAIL: kwin@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=742302
2007-11-27 19:40:25 +00:00
Luboš Luňák
d18e4933a0
Make DesktopGrid useful also from keyboard.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=739147
2007-11-20 16:17:08 +00:00
Rivo Laks
1f7c7cc89b
Unelevate the moved window when it's released.
...
Fixes ugly bug where window would stay elevated even after the effect finishes.
svn path=/trunk/KDE/kdebase/workspace/; revision=732299
2007-11-03 12:44:13 +00:00
Rivo Laks
bb9ff25ec4
Prevent multiple fullscreen effects from becoming active at the same time as discussed
...
on kwin ml
svn path=/trunk/KDE/kdebase/workspace/; revision=731717
2007-11-01 17:47:41 +00:00
Luboš Luňák
d2e8675051
Avoid divide by zero.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=726668
2007-10-18 14:24:46 +00:00
Andreas Pakulat
39e322fc83
Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
...
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.
svn path=/trunk/KDE/kdebase/workspace/; revision=721704
2007-10-05 22:21:25 +00:00
Rivo Laks
4c92b26fe8
Speed up (500 -> 300 ms)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=709526
2007-09-07 18:20:05 +00:00
Luboš Luňák
e6069e9cf6
Arghl. Again a stupid bug caused by float having poor precision.
...
Reverting r700026 and changing floats to doubles again. I'd probably like
to change even the ones interfacing with OpenGL which I've left for now.
svn path=/trunk/KDE/kdebase/workspace/; revision=707987
2007-09-03 15:00:43 +00:00
Luboš Luňák
d846a1e8a9
Use always float as the floating point type for compositing
...
(http://lists.kde.org/?l=kwin&m=118493073424327&w=2 ).
svn path=/trunk/KDE/kdebase/workspace/; revision=700026
2007-08-14 15:22:23 +00:00
Rivo Laks
7273d0ddb5
Add setTransformed() helper method
...
svn path=/trunk/KDE/kdebase/workspace/; revision=689913
2007-07-19 14:05:59 +00:00
Luboš Luňák
5faa397849
Vertex redesign - redo the way windows are split into smaller parts
...
for use in effects (and not only). Now a list of window quads (=window areas)
is created at the beginning of the paint pass, prepaint calls can modify
the split itself (i.e. divide it into more parts). The actual paint calls
can then modify these quads (i.e. transform their geometry). This will allow
better control of how the split is done and also allow painting e.g. only
the decoration differently. Still work in progress, but it works.
Also pass data to prepaint functions in a struct, as there is
already quite a number of them.
svn path=/trunk/KDE/kdebase/workspace/; revision=684893
2007-07-07 14:01:32 +00:00
Luboš Luňák
d3c8229599
Fix orientation.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=683149
2007-07-04 09:35:32 +00:00
Luboš Luňák
d74361c378
Option to turn off slide during change.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=682448
2007-07-02 17:56:46 +00:00
Luboš Luňák
841a08c99c
Don't crash.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=672215
2007-06-06 12:26:50 +00:00
Pino Toscano
38267e8ac6
less qt3support
...
svn path=/trunk/KDE/kdebase/workspace/; revision=672194
2007-06-06 10:37:37 +00:00
Rivo Laks
041673bf86
Effect's name in KWIN_EFFECT*() macros must now match effect's internal name in .desktop file,
...
without kwin4_effect_ prefix, so change the name in those macros to lowercase.
Some modifications to the macros themselves as well.
Effect loading via dcop might work again now.
svn path=/trunk/KDE/kdebase/workspace/; revision=669033
2007-05-28 11:16:18 +00:00
Luboš Luňák
278e721494
Support for keeping a window temporarily at the very top,
...
desktop grid effect raises the window being moved this way.
svn path=/trunk/KDE/kdebase/workspace/; revision=667944
2007-05-24 14:41:56 +00:00
Luboš Luňák
c4ed59b462
There is a reasonable rounding function after all.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=667352
2007-05-22 15:48:39 +00:00
Luboš Luňák
b4e9060ca7
Sigh ... lround() -> int( round()).
...
BUG: 145780
svn path=/trunk/KDE/kdebase/workspace/; revision=667287
2007-05-22 12:11:45 +00:00
Luboš Luňák
f52b8e48cd
branches/work/kwin_composite becomes new trunk kwin.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993
Remove kwin, kwin_composite will become new trunk kwin, missing merges
...
from trunk will be merged in.
svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luboš Luňák
56e5618f0e
Round values, don't just truncate.
...
svn path=/branches/work/kwin_composite/; revision=656976
2007-04-22 21:22:05 +00:00
Luboš Luňák
b849a760ef
Fix painting of moved on-all-desktop windows.
...
svn path=/branches/work/kwin_composite/; revision=656444
2007-04-21 12:29:43 +00:00
Luboš Luňák
371dfdbede
MMB toggles on-all-desktops.
...
svn path=/branches/work/kwin_composite/; revision=656437
2007-04-21 12:15:43 +00:00
Luboš Luňák
0040bb699b
Better painting of moved window.
...
svn path=/branches/work/kwin_composite/; revision=656410
2007-04-21 10:26:02 +00:00
Luboš Luňák
d6d91cf88a
Add the ability to move windows around in DesktopGridEffect.
...
svn path=/branches/work/kwin_composite/; revision=654796
2007-04-16 22:47:51 +00:00
Luboš Luňák
09b5b47b1e
Integrate DesktopChangeSlide into DesktopGrid, so that
...
they can co-exist without conflicting.
svn path=/branches/work/kwin_composite/; revision=654687
2007-04-16 19:30:48 +00:00
Luboš Luňák
40002ec325
Allow changing the desktop in DesktopGridEffect by clicking.
...
svn path=/branches/work/kwin_composite/; revision=654680
2007-04-16 19:09:21 +00:00
Luboš Luňák
f8fd7b7ff1
Effect that shows all desktops in a grid.
...
svn path=/branches/work/kwin_composite/; revision=654642
2007-04-16 17:25:02 +00:00