Commit graph

100 commits

Author SHA1 Message Date
Lucas Murray
034e66ae96 Randomize direction even when filling gaps, fixes bug when all windows are the same size.
svn path=/trunk/KDE/kdebase/workspace/; revision=861791
2008-09-17 08:19:16 +00:00
Lucas Murray
ac3ac459e8 Fixed type and slightly increased fade time.
svn path=/trunk/KDE/kdebase/workspace/; revision=857700
2008-09-06 07:22:25 +00:00
Lucas Murray
36977673b3 Don't make excessive animationTimer() calls.
svn path=/trunk/KDE/kdebase/workspace/; revision=857091
2008-09-04 16:59:14 +00:00
Lucas Murray
e992879263 Don't display utility windows in present windows as well, that should be everything.
BUG: 152341

svn path=/trunk/KDE/kdebase/workspace/; revision=855832
2008-09-01 15:04:41 +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
Luboš Luňák
8e5f95a9d6 Make a more explicit distinction between using normalized and non-normalized
texture coordinates - it cost me hours to find out why something was misdrawing :(.


svn path=/trunk/KDE/kdebase/workspace/; revision=854546
2008-08-29 18:54:28 +00:00
Lucas Murray
faf7477fdb Force window switching mode to use the regular grid as well as putting all windows on the same screen if using a multi-monitor system. Also fixed the incorrectly highlighted window when window switching is first activated.
svn path=/trunk/KDE/kdebase/workspace/; revision=853112
2008-08-27 08:29:09 +00:00
Lucas Murray
7ce5cea00d Allow clicking of windows when in window switching mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=852767
2008-08-26 14:41:26 +00:00
Lucas Murray
14dd4db702 Rearrange when a new window is displayed.
svn path=/trunk/KDE/kdebase/workspace/; revision=852749
2008-08-26 14:06:09 +00:00
Lucas Murray
255889ca65 FEATURE: Two new layout modes for the present windows effect
BUG: Keyboard operation now works correctly in present windows on multi-monitor setups

svn path=/trunk/KDE/kdebase/workspace/; revision=852066
2008-08-25 09:17:15 +00:00
Lucas Murray
31cc37e089 Switched over duration counters to the TimeLine class.
svn path=/trunk/KDE/kdebase/workspace/; revision=850953
2008-08-22 16:25:40 +00:00
Luboš Luňák
e57590dc64 Fix x/y mismatch, patch by David Benjamin.
BUG: 168995


svn path=/trunk/KDE/kdebase/workspace/; revision=846447
2008-08-13 13:53:36 +00:00
Martin Gräßlin
ca14652fc0 Present windows effect can be used for window switching (alt+tab) as well.
CCMAIL: kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=846399
2008-08-13 12:25:19 +00:00
Lucas Murray
00c95be210 Added text alignment support to paintText() functions
svn path=/trunk/KDE/kdebase/workspace/; revision=842497
2008-08-05 12:26:16 +00:00
Lucas Murray
0bfb2ccafe Make the present windows animation last a little bit longer
svn path=/trunk/KDE/kdebase/workspace/; revision=841336
2008-08-03 08:21:03 +00:00
Lucas Murray
93592c3d98 Only upscale small windows in the present windows effect.
BUG: 163105


svn path=/trunk/KDE/kdebase/workspace/; revision=822547
2008-06-20 16:10:13 +00:00
Luboš Luňák
aff5b2c2c5 Lay out windows on all monitors in Xinerama, from "Lucas Murray" <admin@undefinedfire.com>
BUG: 157952


svn path=/trunk/KDE/kdebase/workspace/; revision=819104
2008-06-10 15:49:49 +00:00
Luboš Luňák
6e6afed817 Don't rearrange windows if only filtering removed some of them, so that they don't
possibly jump to the freed positions.


svn path=/trunk/KDE/kdebase/workspace/; revision=818778
2008-06-09 15:46:57 +00:00
Luboš Luňák
602244e3a5 Use a convenience XRenderPicture constructor instead of hardcoding
XRender Formats.


svn path=/trunk/KDE/kdebase/workspace/; revision=805361
2008-05-08 10:08:10 +00:00
Luboš Luňák
5efac21537 XRenderPicture, a wrapper around XRender's Picture, which
should act just like Picture, except for proper initialization
and resource freeing (i.e. it's sane and easy from C++ point of view).


svn path=/trunk/KDE/kdebase/workspace/; revision=805085
2008-05-07 14:43:13 +00:00
Luboš Luňák
b840fa0792 Disable copying by value for GLTexture, as it wouldn't work anyway.
CCMAIL: Rivo Laks <rivolaks@hot.ee>


svn path=/trunk/KDE/kdebase/workspace/; revision=805056
2008-05-07 13:05:46 +00:00
Luboš Luňák
f9ce0427e8 Do not activate the effect with nothing to show.
svn path=/trunk/KDE/kdebase/workspace/; revision=804228
2008-05-05 11:58:53 +00:00
Malcolm Hunter
be582d3a1a Typo fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=798922
2008-04-19 22:36:47 +00:00
Louai Al-Khanji
fe3f250020 Whoops, these are supposed to be on by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=791340
2008-03-29 02:38:17 +00:00
Louai Al-Khanji
32bc8c8d07 Make window caption presentation configurable and turned off by default.
svn path=/trunk/KDE/kdebase/workspace/; revision=791193
2008-03-28 17:26:04 +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
Luboš Luňák
cef15afe8a Clean up properly.
BUG: 154270


svn path=/trunk/KDE/kdebase/workspace/; revision=762660
2008-01-17 16:24:11 +00:00
Stephan Binner
32272e9613 i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=757261
2008-01-04 15:26:42 +00:00
Luboš Luňák
21a31819d1 Move the shortcuts to Ctrl+F9/F10, feels a bit better although I still don't
like the defaults for PresentWindows and DesktopGrid.


svn path=/trunk/KDE/kdebase/workspace/; revision=756780
2008-01-03 19:02:38 +00:00
Luboš Luňák
bb433ac40e No longer include config*.h files in installed headers.
Also slightly redo the #define's for effects, now it's:
- #ifdef KWIN_HAVE_COMPOSITING to check whether there's any compositing support at all
- #ifdef KWIN_HAVE_OPENGL_COMPOSITING to check for OpenGL-based compositing
- #ifdef KWIN_HAVE_XRENDER_COMPOSITING the same for XRender
CCMAIL: kwin@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=749628
2007-12-17 14:14:53 +00:00
Rivo Laks
6827a0cc32 For some reason the icon caching doesn't work here so let's just disable it for now.
svn path=/trunk/KDE/kdebase/workspace/; revision=749165
2007-12-16 18:31:33 +00:00
Rivo Laks
7515cc8e0e Repaint filter box area when filter is empty.
svn path=/trunk/KDE/kdebase/workspace/; revision=749110
2007-12-16 14:43:28 +00:00
Adriaan de Groot
9ff9f6ce22 Disambiguating ints and unsigned and float and double
svn path=/trunk/KDE/kdebase/workspace/; revision=747016
2007-12-10 20:43:13 +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
373f6e552a Useful keyboard navigation also for PresentWindows.
svn path=/trunk/KDE/kdebase/workspace/; revision=739606
2007-11-21 11:57:09 +00:00
Luboš Luňák
c1ed1edb52 Proper support for active xinerama screen in effects.
BUG: 152552 


svn path=/trunk/KDE/kdebase/workspace/; revision=739248
2007-11-20 18:58:30 +00:00
Luboš Luňák
bc6a084894 Let effects access window role as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=736266
2007-11-13 19:59:53 +00:00
Luboš Luňák
ad73c931e5 It seems that any QPalette use in KWin has to explicitly specify
the color group, since KWin is technically never the active application.


svn path=/trunk/KDE/kdebase/workspace/; revision=734660
2007-11-09 14:09:29 +00:00
Rivo Laks
ee7b2ca8d1 Change default mouse triggers as discussed on kwin list (top-right doesn't do anything
anymore and top-left triggers presentwindows for all desktops).
Should make Plasma people happy as well ;-)

svn path=/trunk/KDE/kdebase/workspace/; revision=734423
2007-11-08 20:34:25 +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
Stephan Binner
3bff5f0ab2 i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=725921
2007-10-16 15:36:27 +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
1112d7fd69 Don't scale windows more than 2 times.
This prevents e.g. a quarter-screen big klipper

svn path=/trunk/KDE/kdebase/workspace/; revision=714057
2007-09-18 16:47:32 +00:00
Rivo Laks
84c15214c5 Blend the window labels in/out with the effect
svn path=/trunk/KDE/kdebase/workspace/; revision=709129
2007-09-06 15:50:53 +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
Rivo Laks
d618ba8d23 Turn paintText() into two generic methods: one just paints the text, the other also paints
background. Move the methods into kwineffects.*

svn path=/trunk/KDE/kdebase/workspace/; revision=707699
2007-09-02 18:20:36 +00:00
Rivo Laks
106fbc23ab - Draw caption for all windows.
- Correctly apply alpha to text as well (in OpenGL mode)

svn path=/trunk/KDE/kdebase/workspace/; revision=707675
2007-09-02 16:43:31 +00:00
Rivo Laks
1a587da8d6 Show caption for active window.
It might be a good idea to even do it for all windows (or maybe with a config option?)

svn path=/trunk/KDE/kdebase/workspace/; revision=707673
2007-09-02 16:30:18 +00:00