Commit graph

120 commits

Author SHA1 Message Date
Martin Gräßlin
a46f5f8945 Add an option to show/not hide panels. Panels are of course not included into filtering and cannot be selected. Like all other windows you can't interact with panels. Option is default off.
CCBUG: 178913

svn path=/trunk/KDE/kdebase/workspace/; revision=910398
2009-01-13 10:19:47 +00:00
Martin Gräßlin
b2a6be6bf0 Close window filtering when the delete key is pressed.
FEATURE: 180516

svn path=/trunk/KDE/kdebase/workspace/; revision=910395
2009-01-13 10:10:55 +00:00
Lucas Murray
8b2b0bfe23 Prevent the present windows filter box from appearing when an unbound
key on the keyboard is pressed. Patch by Jacopo De Simoi. This should
really be done somewhere further up the chain but as it's a temporary
workaround anyway I guess it doesn't matter.
BUG: 178547

svn path=/trunk/KDE/kdebase/workspace/; revision=902453
2008-12-28 13:07:54 +00:00
Lucas Murray
84c28985fb Prevent selecting of hidden windows when using the present windows
filter feature.

svn path=/trunk/KDE/kdebase/workspace/; revision=897444
2008-12-16 04:24:20 +00:00
Lucas Murray
1fb0e16b47 Various deactivation fading fixes.
BUG: 176502

svn path=/trunk/KDE/kdebase/workspace/; revision=896316
2008-12-13 09:02:27 +00:00
Lucas Murray
5413d0ec5d SVN_SILENT Cleaned up recent commits.
svn path=/trunk/KDE/kdebase/workspace/; revision=892363
2008-12-04 09:02:21 +00:00
David Nadlinger
a875c6ea23 Present Windows when there is only one window if this window is not on the current desktop.
BUG: 176499

svn path=/trunk/KDE/kdebase/workspace/; revision=890861
2008-11-30 14:51:32 +00:00
Lucas Murray
1efa1b0376 Fix regression caused by r889761.
Also fix windows scaling off into nothingness when they do not overlap
another window.

svn path=/trunk/KDE/kdebase/workspace/; revision=889766
2008-11-27 15:11:10 +00:00
Lucas Murray
848b2a936c Fix bug where if the user filters to only a single single in the natural
layout there is no motion dynamics applied to it.

svn path=/trunk/KDE/kdebase/workspace/; revision=889761
2008-11-27 14:56:00 +00:00
Lucas Murray
a44a34bb3e Fix window switching mode of present windows not displaying the contents of minimized windows when "ignore minimized" is enabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=874297
2008-10-21 07:27:19 +00:00
Lucas Murray
9f8df08268 Added option to hide minimized windows in the present windows effect. Patch by Bart Cerneels.
svn path=/trunk/KDE/kdebase/workspace/; revision=874292
2008-10-21 07:15:35 +00:00
Lucas Murray
d2f83ab8f7 Fix fading of minimized windows when deactivating the present windows effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=871588
2008-10-15 08:23:52 +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
b7122a91b1 Prevent crash when cancelling present windows when no window is highlighted.
Prevent the tab key from being added to the filter.
BUG: 171951

svn path=/trunk/KDE/kdebase/workspace/; revision=866566
2008-10-01 10:45:20 +00:00
Lucas Murray
68d958c237 Added reset methods to WindowMotionManager.
Fixed bug in present windows when if there is only one window on a Xinerama screen it is zoomed into nothingness when using the natural layout.
CCBUG: 171812

svn path=/trunk/KDE/kdebase/workspace/; revision=865798
2008-09-29 02:25:02 +00:00
Lucas Murray
db8e8365da Prevent present windows from storing data for a NULL window.
CCBUG: 171593

svn path=/trunk/KDE/kdebase/workspace/; revision=864365
2008-09-24 15:53:08 +00:00
Lucas Murray
7f690db225 Correct fix to prevent present windows from crashing.
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/workspace/; revision=863746
2008-09-23 03:16:36 +00:00
Martin Gräßlin
e353af4844 Prevent crashing when a window is closed.
CCMAIL: <lmurray@undefinedfire.com>

svn path=/trunk/KDE/kdebase/workspace/; revision=863593
2008-09-22 16:13:20 +00:00
Lucas Murray
51aef64cd7 Added motion dynamic physics helper classes to the KWin effects API. These
classes are intended to be used to help effect authors move windows across
the screen smoothly and naturally.

Although not 100% complete the classes can be used for 2D operations in its
current state, an example of which is the included present windows update.
These classes can be expanded upon when the new modifiers are required.

I would like a generic, template-based motion manager class that can be used
for non-window objects as well as another 3D-enabled manager to be available
sometime in the future.

CCMAIL: kwin@kde.org

svn path=/trunk/KDE/kdebase/workspace/; revision=863561
2008-09-22 13:03:00 +00:00
Luboš Luňák
08571b2f52 Do not use 'assert( false )', with NDEBUG that is a no-op and
results in warnings about missing return.


svn path=/trunk/KDE/kdebase/workspace/; revision=861879
2008-09-17 11:44:51 +00:00
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