Commit graph

3333 commits

Author SHA1 Message Date
Luboš Luňák
77719858b0 Damage also the old area on geometry changes.
svn path=/branches/work/kwin_composite/; revision=628608
2007-01-30 16:52:05 +00:00
Luboš Luňák
7cb649edcb Tell scene about size changes.
svn path=/branches/work/kwin_composite/; revision=628606
2007-01-30 16:49:08 +00:00
Luboš Luňák
908ec070a9 Discard vertices on size change.
svn path=/branches/work/kwin_composite/; revision=628605
2007-01-30 16:42:03 +00:00
Luboš Luňák
43d393429d A window can be trasformed also by transforming the whole screen.
svn path=/branches/work/kwin_composite/; revision=628601
2007-01-30 16:36:53 +00:00
Rivo Laks
26e907c210 Merge MAKE_*_VERSION macros into MAKE_GL_VERSION and move it to .cpp file
svn path=/branches/work/kwin_composite/; revision=628353
2007-01-29 21:06:56 +00:00
Laurent Montel
8d01ae32ea This directory doesn't exist on my computer :)
svn path=/trunk/KDE/kdebase/workspace/; revision=628350
2007-01-29 20:55:50 +00:00
Rivo Laks
cc93b859e3 Make Client::iconGeometry() recursively use it's mainwindow's icongeometry if it
doesn't have one itself.

svn path=/branches/work/kwin_composite/; revision=628327
2007-01-29 19:28:53 +00:00
Matthias Kretz
3003c4ecf8 merge the kinstance-redesign branch back to trunk.
svn path=/trunk/KDE/kdebase/workspace/; revision=628276
2007-01-29 17:14:20 +00:00
Luboš Luňák
409ceae7ff SHM does not support all color depths.
svn path=/branches/work/kwin_composite/; revision=628226
2007-01-29 15:22:29 +00:00
Luboš Luňák
2324e92b4e The workaround with explicitly asking for texture target with tfp
doesn't seem to be necessary.


svn path=/branches/work/kwin_composite/; revision=628209
2007-01-29 14:32:20 +00:00
Luboš Luňák
e0ed5d5f3f Move raster position relatively using glBitmap() rather
than using glRasterPos2f() - the latter causes drawing
artefacts at the bottom screen edge with some gfx cards


svn path=/branches/work/kwin_composite/; revision=627525
2007-01-26 22:50:31 +00:00
Rivo Laks
8669b298be Minimize e.g. dialogs onto taskbar entries of their mainwindows.
If everything else fails, minimize to the center of the screen.

svn path=/branches/work/kwin_composite/; revision=627172
2007-01-25 21:23:27 +00:00
Luboš Luňák
29b8d42e55 Damage screen when stacking order changes.
svn path=/branches/work/kwin_composite/; revision=627103
2007-01-25 17:42:53 +00:00
Luboš Luňák
65d5eaf9b8 FadeIn and FadeOut should be somewhen merged.
svn path=/branches/work/kwin_composite/; revision=627079
2007-01-25 16:39:42 +00:00
Rivo Laks
445ab8ca7a Add MinimizeAnimation effect which makes the window move onto/from its taskbar
entry when minimized/restored

svn path=/branches/work/kwin_composite/; revision=627003
2007-01-25 11:48:07 +00:00
Luboš Luňák
93de3d41d0 Add WavyWindowsEffect.
svn path=/branches/work/kwin_composite/; revision=626899
2007-01-24 21:46:43 +00:00
Philip Falkner
0341a3e8b5 Add support for GL_ARB_texture_non_power_of_two. Use GL_TEXTURE_2D wherever possible, even when that extension isn't available.
svn path=/branches/work/kwin_composite/; revision=626897
2007-01-24 21:35:58 +00:00
Rivo Laks
798d437e03 Add iconGeometry() method to Client.
It returns rectangle of the taskbar entry of the window.

svn path=/branches/work/kwin_composite/; revision=626867
2007-01-24 20:15:38 +00:00
Rivo Laks
a00b314b5a Temporarily-unminimize hack doesn't seem to be necessary anymore.
Use transparency for minimized windows in the fade-in and fade-out phases (when
  the effect is not fully active yet)

svn path=/branches/work/kwin_composite/; revision=626829
2007-01-24 17:43:36 +00:00
Rivo Laks
adb35ae446 Adding WavyWindows effect which makes all windows wavy.
Meant to demonstrate possibilities of vertex transforming and for cool screenshots ;-)

svn path=/branches/work/kwin_composite/; revision=626815
2007-01-24 17:19:00 +00:00
Luboš Luňák
e5f5ecf22e Handle a fixme.
KWin's debug area is 1212.
CCMAIL: Rivo Laks <rivolaks@hot.ee>


svn path=/branches/work/kwin_composite/; revision=626743
2007-01-24 14:26:04 +00:00
Luboš Luňák
f9555cf69e Revert r427993 (#106013) as it causes #140023.
BUG: 140023


svn path=/trunk/KDE/kdebase/workspace/; revision=626731
2007-01-24 13:49:28 +00:00
Rivo Laks
c2830a6360 Effects can now request windows to be subdivided into multiple quads.
Effects also get access to window's vertices. This can be used to change shape of
  the window, e.g. for wobble effect

svn path=/branches/work/kwin_composite/; revision=626706
2007-01-24 11:51:38 +00:00
Luboš Luňák
0ae5a772e7 Add EffectWindow as a window representation for effects,
to hide the change from Client/Unmanaged and eventually also
act as the only API available to effects.


svn path=/branches/work/kwin_composite/; revision=626360
2007-01-22 22:57:22 +00:00
Luboš Luňák
e8147c2244 Instead of the somewhat fragile way of trying to clean up Client/Unmanaged
instances and keeping them around after the window is closed, create
class Deleted as a representation of a closed window.
(Why do I always forget 'svn add'?)


svn path=/branches/work/kwin_composite/; revision=626357
2007-01-22 22:52:42 +00:00
Luboš Luňák
77f803a563 Instead of the somewhat fragile way of trying to clean up Client/Unmanaged
instances and keeping them around after the window is closed, create
class Deleted as a representation of a closed window.


svn path=/branches/work/kwin_composite/; revision=626356
2007-01-22 22:51:30 +00:00
Michel Hermier
0fdc6c4469 #625468 ported to KDE4
svn path=/trunk/KDE/kdebase/workspace/; revision=625469
2007-01-20 09:56:57 +00:00
Script Kiddy
4178ad5986 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=624048

The following changes were in SVN, but were removed from git:

M	wallpapers/All-Good-People-1.jpg.desktop
M	wallpapers/Chicken-Songs-2.jpg.desktop
M	wallpapers/No-Ones-Laughing-3.jpg.desktop
M	wallpapers/Time-For-Lunch-2.jpg.desktop
M	wallpapers/Totally-New-Product-1.jpg.desktop
M	wallpapers/andes-venezolanos.svgz.desktop
M	wallpapers/aurora.svgz.desktop
M	wallpapers/blue-bend.jpg.desktop
M	wallpapers/celtic.svgz.desktop
M	wallpapers/default_blue.jpg.desktop
M	wallpapers/default_gears.jpg.desktop
M	wallpapers/floating-leaves.jpg.desktop
M	wallpapers/globe.svgz.desktop
M	wallpapers/here-gear.svgz.desktop
M	wallpapers/lineart.svgz.desktop
M	wallpapers/moon.svgz.desktop
M	wallpapers/seaofconero.jpg.desktop
M	wallpapers/soft-green.jpg.desktop
M	wallpapers/sunshine-after-the-rain.jpg.desktop
M	wallpapers/triplegears.jpg.desktop
2007-01-16 07:32:27 +00:00
Andy Goossens
4f86f4d100 Typo fix
svn path=/trunk/KDE/kdebase/workspace/; revision=623924
2007-01-15 23:56:29 +00:00
Luboš Luňák
9ee1526898 Comment about deleted windows.
svn path=/branches/work/kwin_composite/; revision=623898
2007-01-15 21:52:41 +00:00
Luboš Luňák
ff6f889ffc Add support for showing effects for windows which have already been deleted.
Add a fade-out effect.


svn path=/branches/work/kwin_composite/; revision=623872
2007-01-15 18:03:04 +00:00
Luboš Luňák
921d8d4f22 Unmanaged clients should be also only deleted using special functions.
svn path=/branches/work/kwin_composite/; revision=623830
2007-01-15 15:42:32 +00:00
Luboš Luňák
44e0b1dca2 More.
svn path=/branches/work/kwin_composite/; revision=623815
2007-01-15 15:20:59 +00:00
Luboš Luňák
a4bf620619 X pixmap is referenced by GLXPixmap, so there's no need
to worry about its lifetime, just taking care of GLXPixmap
is enough.


svn path=/branches/work/kwin_composite/; revision=623812
2007-01-15 15:15:04 +00:00
Luboš Luňák
8a3af8dcca X.org docs have moved again.
svn path=/branches/work/kwin_composite/; revision=623807
2007-01-15 14:58:35 +00:00
Luboš Luňák
603a1d4686 Discard backing pixmap when finishing compositing.
svn path=/branches/work/kwin_composite/; revision=623759
2007-01-15 13:01:43 +00:00
Luboš Luňák
6c51fb76f4 Kill only with left or middle button.
svn path=/trunk/KDE/kdebase/workspace/; revision=623744
2007-01-15 12:19:44 +00:00
Luboš Luňák
fd3809e453 Add PresentWindowsEffect.
svn path=/branches/work/kwin_composite/; revision=623377
2007-01-14 17:05:25 +00:00
Philip Falkner
ee9e4ad715 Allow effects on window minimize and unminimize.
svn path=/branches/work/kwin_composite/; revision=622778
2007-01-12 23:23:41 +00:00
Philip Falkner
e3cf0dd455 Move window_pix into Toplevel, allowing the backing pixmap to be kept even after a window is unmapped.
This is needed for effects to make use of unavailable windows, such as when closing a window.

svn path=/branches/work/kwin_composite/; revision=622777
2007-01-12 23:21:36 +00:00
Rivo Laks
33f8a0758c Add Expose-like effect to show all windows of active desktop side by side.
Another window can then be activated by clicking on it.
Also add interpolate() utility function to Effect

svn path=/branches/work/kwin_composite/; revision=622634
2007-01-12 14:14:53 +00:00
Luboš Luňák
737ee38cb7 More.
svn path=/branches/work/kwin_composite/; revision=622553
2007-01-12 09:45:02 +00:00
Luboš Luňák
fa2d3956a9 New items.
svn path=/branches/work/kwin_composite/; revision=622552
2007-01-12 09:44:22 +00:00
Philip Falkner
051143b3b7 compilation fixes from trunk (r621518, r621469)
svn path=/branches/work/kwin_composite/; revision=621785
2007-01-09 19:34:49 +00:00
Simon Hausmann
877a4df9d6 merged branches/work/kaction-cleanup-branch, courtesy of
Kevin, Laurent, Thomas and me.

svn path=/trunk/KDE/kdebase/workspace/; revision=621518
2007-01-08 22:39:24 +00:00
Aaron J. Seigo
e9a1f6b086 i command thee, build!
svn path=/trunk/KDE/kdebase/workspace/; revision=621469
2007-01-08 21:10:55 +00:00
Luboš Luňák
92652a187d Support in scene painting code for drawing also hidden windows.
svn path=/branches/work/kwin_composite/; revision=621337
2007-01-08 17:05:58 +00:00
Luboš Luňák
579f174e63 Make sure to track only mapped override-redirect windows.
svn path=/branches/work/kwin_composite/; revision=621333
2007-01-08 16:54:32 +00:00
Luboš Luňák
3a58fc2ea3 Oops, r527758 broke blocking of stacking updates.
svn path=/trunk/KDE/kdebase/workspace/; revision=621281
2007-01-08 15:02:12 +00:00
Luboš Luňák
4c27cb9729 Oops, r527758 broke blocking of stacking updates.
svn path=/branches/work/kwin_composite/; revision=621280
2007-01-08 15:01:49 +00:00