Commit graph

32 commits

Author SHA1 Message Date
Martin Gräßlin
1793343847 Make Slideback work on OpenGL without PaintClipper 2011-07-05 20:18:21 +02:00
Michael Zanetti
e1bf590a1c - fixes calculation of WindowMotionManager in case a new destination is set when the window is not at its original position and provide a function to check if windows
are currently moving (by Thomas Lübking)
- make use of new function and bugfix in SlideBack effect
2011-06-20 21:56:56 +02:00
Michael Zanetti
2f10503ee5 fix TabBox detection in SlideBack effect 2011-06-19 22:05:48 +02:00
Martin Gräßlin
dcebc7481b ClientGroupItem* become signals
This needs to be improved in core. Currently ClientGroup does not yet
emit signals, as it would be difficult to connect them. Nevertheless
the effects dependency should be removed.
2011-03-06 21:15:09 +01:00
Martin Gräßlin
a404ec4259 WindowUnminimized becomes a signal 2011-03-06 11:08:19 +01:00
Martin Gräßlin
e355700e6e EffectsHandler emits windowDeleted signal
Workspace emits a deletedRemoved signal which the EffectsHandlerImpl translates
into a windowDeleted signal.
2011-02-27 10:47:42 +01:00
Martin Gräßlin
0795ae89ac EffectsHandler emits signal on windowActivated
EffectsHandlerImpl connects to the Workspace signal clientActivated.
The emitting of the signal is slightly moved from before the activation logic
to after the activation logic. This might change behavior in the scripting
component, but the previous code looked wrong.
2011-02-27 10:05:04 +01:00
Martin Gräßlin
ab6f2ba1fd EffectsHandler emits windowAdded signal
All previously existing windowAdded methods are renamed to slotWindowAdded.
EffectsHandlerImpl is connected to Workspace's clientAdded signal, which is
emitted a little bit earlier than the previous direct method call. This might
change behavior.
Another signal is added to Workspace to signal that an unmanaged is added.
2011-02-25 22:06:02 +01:00
Martin Gräßlin
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Thomas Lübking
7d7cac1924 Fix #245372 (clipping error on VD change)
BUG: 245372

svn path=/trunk/KDE/kdebase/workspace/; revision=1197040
2010-11-14 18:03:36 +00:00
Lucas Murray
a0d07d12a2 Merged r970865:1049322 from /branches/work/kwin-tabbing
Adds window tabbing support to KWin.
FEATURE: 42023

svn path=/trunk/KDE/kdebase/workspace/; revision=1049334
2009-11-15 03:24:04 +00:00
Lucas Murray
424d358fd2 Less Krazy warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042583
2009-10-30 08:10:35 +00:00
Michael Zanetti
24b5877db2 Don't crash if a unusable windows (e.g. new plasma widget brwser) is unminimized
BUG: 210191

svn path=/trunk/KDE/kdebase/workspace/; revision=1035651
2009-10-15 15:41:35 +00:00
Michael Zanetti
b5da07a822 dont trigger the effect if a window is closed and the focus falls
to a window other than the topwindow
BUG: 196900


svn path=/trunk/KDE/kdebase/workspace/; revision=1031353
2009-10-04 19:24:09 +00:00
Michael Zanetti
400ee1a6c8 work correctly with multiple modal windows
svn path=/trunk/KDE/kdebase/workspace/; revision=1023324
2009-09-14 14:22:31 +00:00
Michael Zanetti
c30f25ca29 Add a full repaint after the animation
BUG: 198986

svn path=/trunk/KDE/kdebase/workspace/; revision=1001777
2009-07-24 09:03:10 +00:00
Michael Zanetti
fe22d95d59 initialize variable correctly
svn path=/trunk/KDE/kdebase/workspace/; revision=992151
2009-07-06 11:30:46 +00:00
Michael Zanetti
8428462ed3 Don't activate SlideBack on unminimized Windows
BUG: 196900

svn path=/trunk/KDE/kdebase/workspace/; revision=992143
2009-07-06 11:13:48 +00:00
Michael Zanetti
3ed5568ec4 use qAbs() instead of abs()
BUG: 194790

svn path=/trunk/KDE/kdebase/workspace/; revision=977309
2009-06-03 20:44:41 +00:00
Michael Zanetti
ccd04606cc properly unmanage windows if they are deleted while animation
svn path=/trunk/KDE/kdebase/workspace/; revision=972412
2009-05-24 21:15:23 +00:00
Michael Zanetti
4dee88ba65 fixed bug 193442. Thanks for the great test case.
BUG: 193442

svn path=/trunk/KDE/kdebase/workspace/; revision=972300
2009-05-24 14:26:00 +00:00
Michael Zanetti
5ebb6eec4d fixed initial race condition
BUG: 193456


svn path=/trunk/KDE/kdebase/workspace/; revision=972292
2009-05-24 14:00:35 +00:00
Michael Zanetti
ff53c951d7 reverted 969982
svn path=/trunk/KDE/kdebase/workspace/; revision=970056
2009-05-19 13:52:50 +00:00
Michael Zanetti
e10bd8cc11 Use PaintClipper in prePaintWindow instead of paintWindow
svn path=/trunk/KDE/kdebase/workspace/; revision=969982
2009-05-19 12:31:29 +00:00
Michael Zanetti
03c84e7789 Remove clipped area immediately after painting. Should fix bug 193094.
CCBUG: 193094

svn path=/trunk/KDE/kdebase/workspace/; revision=969412
2009-05-18 10:22:51 +00:00
Michael Zanetti
fc21b3099c Don't handle windows set to keepAbove(). Fixes issues with windows like yakuake
or full screen windows.
Use PaintClipper instead of direcly subtracting from paint region.

svn path=/trunk/KDE/kdebase/workspace/; revision=969256
2009-05-17 19:38:06 +00:00
Michael Zanetti
33d2f0398b work with windows on all desktops
BUG: 190840

svn path=/trunk/KDE/kdebase/workspace/; revision=959955
2009-04-27 16:15:08 +00:00
Michael Zanetti
000b7bed5c eliminate flickering + minor fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=959854
2009-04-27 12:57:52 +00:00
Michael Zanetti
95cb1b2744 behave better with modal windows
svn path=/trunk/KDE/kdebase/workspace/; revision=957551
2009-04-22 12:49:28 +00:00
Michael Zanetti
a5d8b15573 bahave better if the user moves the window while changing the stacking
order

svn path=/trunk/KDE/kdebase/workspace/; revision=957532
2009-04-22 11:24:19 +00:00
Michael Zanetti
713e3b0c61 slide further away if the user moves the active window
svn path=/trunk/KDE/kdebase/workspace/; revision=956891
2009-04-20 21:19:14 +00:00
Michael Zanetti
d6a5f717f2 Add new SlideBack effect
svn path=/trunk/KDE/kdebase/workspace/; revision=954446
2009-04-15 19:31:20 +00:00