Martin Gräßlin
edd0950f96
WindowOpacityChanged becomes a signal
2011-03-06 10:30:23 +01:00
Martin Gräßlin
0a7e48f7aa
KWin uses kdelibs coding style.
2011-01-31 20:07:03 +01:00
Kevin Ottens
ff61f40d8d
Don't rely on the kdgstream typedef which is deprecated. Use QDebug
...
directly.
svn path=/trunk/KDE/kdebase/workspace/; revision=1190379
2010-10-27 14:16:56 +00:00
Thomas Lübking
5d2157060d
RR.3997, make windowtype rule operative
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1127821
2010-05-17 17:53:07 +00:00
Lucas Murray
8cbce93613
Less warnings please.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=1031438
2009-10-05 06:59:10 +00:00
Fredrik Höglund
3685b3260a
Make sure that the repainted area includes the whole area
...
used by the decoration.
This fixes ghost shadows being left behind when windows
are minimized.
svn path=/trunk/KDE/kdebase/workspace/; revision=980474
2009-06-11 20:12:11 +00:00
Lucas Murray
21f023ee77
Revert r925355, r925357 and r925358 as the crashing was caused by
...
Kephal and has since been fixed.
svn path=/trunk/KDE/kdebase/workspace/; revision=927675
2009-02-18 04:05:37 +00:00
Lucas Murray
b55115a8be
Prevent recursion loop in Toplevel::screen() and
...
Workspace::activeScreen() when the center of the active client is
offscreen and was not previously on the active screen.
svn path=/trunk/KDE/kdebase/workspace/; revision=925362
2009-02-13 06:59:34 +00:00
Lucas Murray
1802e56d9b
If the center of a window is offscreen treat it as if it was on the
...
active screen instead of the primary one.
svn path=/trunk/KDE/kdebase/workspace/; revision=925357
2009-02-13 06:28:50 +00:00
Lucas Murray
972dec8375
Make r888093 meet KWin standards.
...
CCMAIL: gpothier@gmail.com
svn path=/trunk/KDE/kdebase/workspace/; revision=888224
2008-11-24 02:57:25 +00:00
Guillaume Pothier
12e9f1d2a9
Added check to ensure that TopLevel::screen never returns -1
...
svn path=/trunk/KDE/kdebase/workspace/; revision=888093
2008-11-23 19:13:23 +00:00
Luboš Luňák
14ae8d2dc9
Support for unredirecting fullscreen windows, i.e. games etc. can paint directly
...
and not be slowed down by going through compositing. Turned on and no UI option
in the naive hope that it won't cause any real problems. Maybe effects doing
window previews should get API to suspend unredirect though.
svn path=/trunk/KDE/kdebase/workspace/; revision=851742
2008-08-24 13:32:57 +00:00
Laurent Montel
1c11825eea
guard warning
...
svn path=/trunk/KDE/kdebase/workspace/; revision=843388
2008-08-07 06:50:39 +00:00
Luboš Luňák
3f4a2dfaed
Add functions for querying xinerama screens to effects API,
...
from Lucas Murray <admin@undefinedfire.com>.
svn path=/trunk/KDE/kdebase/workspace/; revision=818782
2008-06-09 16:09:56 +00:00
Thiago Macieira
99b12001c0
Don't delete a forward-declared class, since that won't run the
...
destructor.
Which means move this inline code to non-inline in the .cpp, after the
class has been declared.
svn path=/trunk/KDE/kdebase/workspace/; revision=811618
2008-05-23 14:41:27 +00:00
Luboš Luňák
3b2b091c34
Make a clear distinction between types we support only for compositing
...
and types that are actually supported when managing windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=746036
2007-12-07 15:53:43 +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
aba180b466
kdebug no longer relies on NDEBUG
...
svn path=/trunk/KDE/kdebase/workspace/; revision=741888
2007-11-26 17:17:45 +00:00
Luboš Luňák
1bfe2b9afd
Read more properties also for unmanaged windows.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=736251
2007-11-13 19:25:44 +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
Luboš Luňák
162d6ac7c9
Support for _NET_WM_SYNC_REQUEST, based on a patch
...
by Rayiner Hashem <gtg990h@mail.gatech.edu>.
svn path=/trunk/KDE/kdebase/workspace/; revision=679986
2007-06-25 08:51:44 +00:00
Jeremy Paul Whiting
36c309ab8d
added missing ifdefs for those of us without XDAMAGE
...
svn path=/trunk/KDE/kdebase/workspace/; revision=670200
2007-05-31 17:13:07 +00:00
Simon Hausmann
10156797bd
Fix uninitialized member variable (valgrind found it)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=662651
2007-05-08 20:12:56 +00:00
Harri Porten
6c3c8e1768
Compile fix. The fixx11.h typedefs None to an XID. A Visual is not
...
identified by an XID. Also, there does not seem to be a special Visual*
value other than CopyFromParent.
svn path=/trunk/KDE/kdebase/workspace/; revision=661805
2007-05-06 16:42:05 +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
Rivo Laks
02032f8587
Move most (all?) internal methods from EffectsHandler to EffectsHandlerImpl.
...
The ugly side effect of this is that there are tons of static_casts in the code now... maybe it
would be better to add effectImpl() convenience method and use that?
svn path=/branches/work/kwin_composite/; revision=652348
2007-04-10 18:47:13 +00:00
Rivo Laks
0353f3376e
Make effects actual plugins, so it's possible to load them on runtime.
...
There's also a kwineffects library now, containing the effects API, which makes it possible to write
third-party effects.
API isn't complete yet and for now just two effects have been converted but I'm working on it :-)
svn path=/branches/work/kwin_composite/; revision=652226
2007-04-10 13:02:08 +00:00
Luboš Luňák
e3b865cd5f
namespace KWinInternal -> KWin - shorter typing of names in gdb, yay
...
svn path=/branches/work/kwin_composite/; revision=650770
2007-04-05 12:07:35 +00:00
Philip Falkner
a71753e5cd
Change effects->windowOpacityChanged to also pass the old opacity; thanks Lubos!
...
Clean up FadeEffect a bit, and make it replace FadeOut in the default effects list.
svn path=/branches/work/kwin_composite/; revision=633032
2007-02-12 23:14:50 +00:00
Luboš Luňák
4019dff500
Distinguish between damage and repaints - damage is when windows contents
...
change, repaint just triggers repaint of the area (without e.g. the texture
updating for OpenGL).
addDamage() -> addRepaint()
CCMAIL: kwin@kde.org
svn path=/branches/work/kwin_composite/; revision=632866
2007-02-12 15:22:43 +00:00
Luboš Luňák
24eacc4908
Move NETWinInfo and few more things from Client to the base class.
...
svn path=/branches/work/kwin_composite/; revision=632380
2007-02-10 21:56:24 +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
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
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
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
Luboš Luňák
b168c35384
Don't cache window pixmap, it's used only after it
...
changes.
svn path=/branches/work/kwin_composite/; revision=593453
2006-10-07 21:20:23 +00:00
Luboš Luňák
ace6b4ad8a
Opengl support for shaped windows.
...
svn path=/branches/work/kwin_composite/; revision=590728
2006-09-30 17:28:27 +00:00
Luboš Luňák
649887d6c2
Looks like using XserverRegion for keeping damage regions
...
wasn't that good idea. Changed to QRegion.
svn path=/branches/work/kwin_composite/; revision=590648
2006-09-30 15:40:03 +00:00
Luboš Luňák
1c7e7bb2b7
Keeping scene-related data in opengl scene.
...
svn path=/branches/work/kwin_composite/; revision=590319
2006-09-29 19:05:36 +00:00
Luboš Luňák
e24815411a
Keep damage info separately for every window.
...
svn path=/branches/work/kwin_composite/; revision=561966
2006-07-13 18:17:49 +00:00
Luboš Luňák
1719127d3f
Make the opacity slider and wheel operations work again.
...
svn path=/branches/work/kwin_composite/; revision=558740
2006-07-05 22:26:34 +00:00
Luboš Luňák
c7f515630d
Support for transparency.
...
svn path=/branches/work/kwin_composite/; revision=558690
2006-07-05 20:52:57 +00:00
Luboš Luňák
f400646a6d
xrender compositing work - now it uses damage areas
...
to reduce amount of painting
svn path=/branches/work/kwin_composite/; revision=558580
2006-07-05 16:04:11 +00:00
Luboš Luňák
571ba9cf9e
Basic compositing support. It doesn't actually do anything
...
besides drawing what should be drawn anyway, and there are
still some things missing like stacking order for override
redirect windows, but KWin is basically a compositing manager now.
svn path=/branches/work/kwin_composite/; revision=558168
2006-07-04 20:02:07 +00:00