Commit graph

22 commits

Author SHA1 Message Date
Martin Gräßlin
69b8e33fce Check for the global shortcut in the effects so that the shortcut actually toggles the effect. This is a workaround needed because the keyboard grab disables the global shortcut.
FEATURE: 156155

svn path=/trunk/KDE/kdebase/workspace/; revision=946787
2009-03-30 11:27:57 +00:00
Martin Gräßlin
92484573f2 Effects can be activated at more than one electric border.
FEATURE: 180548

svn path=/trunk/KDE/kdebase/workspace/; revision=946404
2009-03-29 12:57:20 +00:00
Script Kiddy
8c5e524769 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=940525

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-03-17 15:51:17 +00:00
Script Kiddy
88cb1a960c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=939654

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-03-15 13:46:07 +00:00
Script Kiddy
9d33d771dc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=936838

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

M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-03-08 14:36:22 +00:00
Lucas Murray
6d57716d53 Minor memory leak patch to present windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=936614
2009-03-08 05:07:42 +00:00
Lucas Murray
27187f2c15 Correctly handle windows that were closed but not yet deleted when the
present windows desktop effect is activated.
CCBUG: 185127
CCBUG: 185239
BUG: 185856

svn path=/trunk/KDE/kdebase/workspace/; revision=934022
2009-03-02 07:48:56 +00:00
Lucas Murray
e0faab0e96 Added debug asserts to present windows. This will hopefully cause KWin
to crash instead of producing black screens making it easier to find the
cause. For the people who can reproduce existing crashes please resubmit
their backtraces with this change applied.
CCBUG: 185127
CCBUG: 185239

svn path=/trunk/KDE/kdebase/workspace/; revision=933187
2009-02-28 10:18:46 +00:00
Lucas Murray
d5ef2a7a87 Prevent present windows from crashing if the highlighted window from the
previous activation is closed and the effect is activated a second time.
BUG: 179537

svn path=/trunk/KDE/kdebase/workspace/; revision=933171
2009-02-28 09:21:54 +00:00
Script Kiddy
67b8f942e3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=931776

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

M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-02-25 19:33:07 +00:00
Lucas Murray
d4f16a8dca Why doesn't my system crash when deleting uninitialized data? In
unrelated news the fade effect is broken again... This time it prevents
windows from ever being deleted. This commit message wins the "most
unrelated" award.
BUG: 185239

svn path=/trunk/KDE/kdebase/workspace/; revision=930448
2009-02-23 14:24:20 +00:00
Lucas Murray
be268c1f4c SVN_SILENT Fix crash in present windows.
BUG: 185239

svn path=/trunk/KDE/kdebase/workspace/; revision=930007
2009-02-22 14:51:38 +00:00
Lucas Murray
1e91a66fd2 Added support for unstyled and frameless EffectFrames. Converted all
effects that display text or boxes to use the class. Minor speed
increase in XRender mode for those effects and a massive increase in
OpenGL mode (Double framerate in present windows in my case).

svn path=/trunk/KDE/kdebase/workspace/; revision=929951
2009-02-22 13:04:16 +00:00
Lucas Murray
e03748fba7 Added EffectFrame, a helper class that creates, manages and caches a
Plasma frame object. There are two ways to use this class: The first is
in "static" mode which gives the frame a set geometry and will not
change, the second is an automatic mode that creates the smallest
possible frame around the specified contents. Contents can either be
normal text and/or a QPixmap, useful for displaying the caption and icon
of the currently highlighed window.
Known bugs:
 - Does not detect Plasma theme changes, known to be in the Plasma
   library.
 - Slight graphical glitches, known to be in Qt 4.5.0 RC1.
Untested:
 - What happens when there is no Plasma theme installed.

svn path=/trunk/KDE/kdebase/workspace/; revision=929324
2009-02-21 04:53:13 +00:00
Script Kiddy
5aa2e29603 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=927390
2009-02-17 12:09:45 +00:00
Script Kiddy
d398ad0c9e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=926053

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

M	wallpapers/Air/metadata.desktop
M	wallpapers/Blue_Curl/metadata.desktop
M	wallpapers/Code_Poets_Dream/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/EOS/metadata.desktop
M	wallpapers/Fields_of_Peace/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/HighTide/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2009-02-14 16:04:31 +00:00
Script Kiddy
73b947b1ca SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=925107
2009-02-12 13:42:22 +00:00
Michael Jansen
366488f20c Commit 921749 changed the component name for kwin effects configuration kcms
from kwin to kcm_kwin4_effect_xyz . That broke global shortcuts configuration.

CCMAIL: kwin@kde.org
CCMAIL: lmurray@undefinedfire.com

svn path=/trunk/KDE/kdebase/workspace/; revision=924534
2009-02-11 00:34:09 +00:00
Lucas Murray
13c2f21e9d Added EffectWindow::acceptsFocus(). Prevent present windows from
displaying windows that cannot be focused anyway (Such as conky).

svn path=/trunk/KDE/kdebase/workspace/; revision=923091
2009-02-08 08:45:21 +00:00
Lucas Murray
81ffa5aec9 Raise electric border windows when an effect mouse input window is
created to allow effects to be toggled by active screen edges.

svn path=/trunk/KDE/kdebase/workspace/; revision=922121
2009-02-06 14:21:20 +00:00
Lucas Murray
a1c82cd52b Added support for inter-effect communication through the use of proxy
classes. Example code has been added to present windows and desktop
grid, if this code is not to be used by KDE 4.3 it should be removed and
added to a test effect instead.

svn path=/trunk/KDE/kdebase/workspace/; revision=922039
2009-02-06 10:15:06 +00:00
Lucas Murray
846496d2c1 Cleaned up the effects/ directory by moving each individual effect into
its own directory, cleaned up the effect config macros and renamed
"MakeTransparent" to "Translucency" so that it matches its visible name.

svn path=/trunk/KDE/kdebase/workspace/; revision=921749
2009-02-05 15:35:38 +00:00