Commit graph

5991 commits

Author SHA1 Message Date
Martin Gräßlin
1a72726875 Backport from oxygen: rev 984209
Prevent shadows from being drawn when windows are maximized which causes some visual problems on multi monitor settings.
Also clean up some code duplication.

svn path=/trunk/KDE/kdebase/workspace/; revision=984214
2009-06-20 13:34:13 +00:00
Huynh Huu Long
c054eac3f7 Prevent shadows from being drawn when windows are maximized which causes some visual problems on multi monitor settings.
Also clean up some code duplication.

svn path=/trunk/KDE/kdebase/workspace/; revision=984209
2009-06-20 13:28:55 +00:00
Lucas Murray
11151655d0 Fix Ozone's window blending setting.
BUG: 197269

svn path=/trunk/KDE/kdebase/workspace/; revision=984204
2009-06-20 13:11:10 +00:00
Lucas Murray
138179d06c Missed some functions in the decoration API cleanup.
svn path=/trunk/KDE/kdebase/workspace/; revision=984121
2009-06-20 04:22:39 +00:00
Aaron J. Seigo
3f98bb5616 clean this up a bit, move the bottom aligned text up a bit so it's a 2/3rds, make sure the selection item is always pointing at the right place
took a stab at updating the items when the window information changes, but couldn't get anything i'm used to to work (KWindowSystem, installX11EventFilter); someone with more kwin-foo than i (not hard ;) will need to take this one on

svn path=/trunk/KDE/kdebase/workspace/; revision=984108
2009-06-20 00:38:07 +00:00
Aaron J. Seigo
1d5c437fb7 * if grahpicEffectsLevel() allows it, animate the selection background.
* don't repaint every item, every time
* use the viewitem svg; while these are technically tasks, this makes it match with other listings (e.g. krunner) which makes it look a bit more visually "tight"

svn path=/trunk/KDE/kdebase/workspace/; revision=984066
2009-06-19 21:22:45 +00:00
Aaron J. Seigo
8f8159950e use the Svg's frame borders for the height calc; now it looks proper :)
fonts are still bottom-aligned with the icon, but it actually "works" imo much better now that the frame is also properly aligned

CCBUG:197187

svn path=/trunk/KDE/kdebase/workspace/; revision=984032
2009-06-19 19:37:08 +00:00
Martin Gräßlin
2d24bce243 Initial import of Aurorae Kwin decoration theme engine.
This theme engine uses SVG files to theme the decoration like the themes for Plasma desktop shell.

svn path=/trunk/playground/artwork/aurorae/; revision=983819
2009-06-19 09:18:07 +00:00
Martin Gräßlin
19495c6cd0 When adding an effect config dialog you should also install the desktop file or you won't have a config dialog.
CCBUG: 197074

svn path=/trunk/KDE/kdebase/workspace/; revision=983719
2009-06-18 21:07:57 +00:00
Luboš Luňák
60f8d8a84f glx1.3, section 3.4.2: "GLXPixmaps created by calls other
than glXCreateGLXPixmap should not be passed to glXDestroyGLXPixmap."


svn path=/trunk/KDE/kdebase/workspace/; revision=983660
2009-06-18 18:54:15 +00:00
Script Kiddy
50323a00c4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=983098

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Air/metadata.desktop
M	wallpapers/Atra_Dot/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/Evening/metadata.desktop
M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Fresh_Morning/metadata.desktop
M	wallpapers/Plasmalicious/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Spring_Sunray/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-06-17 14:56:21 +00:00
Thomas Lübking
8f91576457 fix buttons w/ enabled FX
svn path=/trunk/KDE/kdebase/workspace/; revision=982672
2009-06-16 14:58:02 +00:00
Script Kiddy
c6e8eb74f2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=982642

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

M	wallpapers/Aghi/metadata.desktop
M	wallpapers/Atra_Dot/metadata.desktop
M	wallpapers/Evening/metadata.desktop
M	wallpapers/Midnight_in_Karelia/metadata.desktop
M	wallpapers/The_Rings_of_Saturn/metadata.desktop
2009-06-16 14:12:06 +00:00
Lucas Murray
f024efed28 Sync r982638 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=982640
2009-06-16 14:09:47 +00:00
Lucas Murray
8184ac42dc Disable the highlight window effect by default as it isn't ready for
primetime yet. The Plasma activation part is very clunky and apparently
sometimes all windows fade out when hovering over some tasks (Most
likely caused by an incorrect highlight XID).

svn path=/trunk/KDE/kdebase/workspace/; revision=982639
2009-06-16 14:07:37 +00:00
Huynh Huu Long
dcb3f28590 Also clear the window mask if compositing is activated
svn path=/trunk/KDE/kdebase/workspace/; revision=982638
2009-06-16 14:06:41 +00:00
Lucas Murray
79010c7230 Sync r982620 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=982626
2009-06-16 13:29:25 +00:00
Lucas Murray
787de98e98 Sync r980471 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=982625
2009-06-16 13:27:29 +00:00
Huynh Huu Long
f9cbed1c1a Ensure that the TileSet gets initialized (thanks to mgraesslin for pointing this out)
CCBUG: 196124

svn path=/trunk/KDE/kdebase/workspace/; revision=982620
2009-06-16 13:19:03 +00:00
Script Kiddy
a36a0197c8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=982294
2009-06-15 13:25:46 +00:00
Martin Gräßlin
c1d4d65ff4 Don't start cube animation if number of desktops has been reduced.
BUG: 196317

svn path=/trunk/KDE/kdebase/workspace/; revision=982057
2009-06-14 20:31:08 +00:00
Script Kiddy
cad3ec9be8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=981932
2009-06-14 14:13:23 +00:00
Luboš Luňák
747c9b1f3e Detect radeon by using at least "Mesa DRI R", not
just the way too generic "Mesa DRI".


svn path=/trunk/KDE/kdebase/workspace/; revision=980487
2009-06-11 20:58:51 +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
Huynh Huu Long
18660b90eb Update shadow/glow tiles when any option changes
Fix window mask for non-composited windows

svn path=/trunk/KDE/kdebase/workspace/; revision=980471
2009-06-11 20:09:36 +00:00
Fredrik Höglund
33b8ab7d91 Really fix the crash on gwenview startup this time.
Apparently a Toplevel isn't always a Client when the client rect 
is different from the toplevel rect.

svn path=/trunk/KDE/kdebase/workspace/; revision=980458
2009-06-11 19:42:55 +00:00
Dirk Mueller
b466509093 be more precise which kwin variant crashed
svn path=/trunk/KDE/kdebase/workspace/; revision=980439
2009-06-11 18:53:41 +00:00
Dirk Mueller
329cddf5bd Detect mobil intel chips as intel chips, not ATI
svn path=/trunk/KDE/kdebase/workspace/; revision=980438
2009-06-11 18:53:23 +00:00
Martin Gräßlin
e3f3b0386f Invalidate the shadow cache when active client changes.
svn path=/trunk/KDE/kdebase/workspace/; revision=980341
2009-06-11 14:27:28 +00:00
Lucas Murray
7b488277a5 Fix decoration titlebar double-click and wheel event detection on
decorations that have an upper outer padding defined.

svn path=/trunk/KDE/kdebase/workspace/; revision=980189
2009-06-11 11:49:50 +00:00
Lucas Murray
d2e10a529f Set OpenGL decoration texture wrap mode to GL_CLAMP_TO_EDGE. Removes
halo effect during window scaling.

svn path=/trunk/KDE/kdebase/workspace/; revision=980162
2009-06-11 10:35:49 +00:00
Lucas Murray
8d09ed341a Remove old decoration shadow API, rename AbilityProvidesShadow and add
support for the new decoration shadow API in the shadow effect.

svn path=/trunk/KDE/kdebase/workspace/; revision=980130
2009-06-11 08:11:13 +00:00
Lucas Murray
b52b5c0ffb Sync r979988 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=980083
2009-06-11 05:53:19 +00:00
Lucas Murray
681caee432 Sync r937674 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=980082
2009-06-11 05:45:57 +00:00
Lucas Murray
dd913d6657 Sync r937562 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=980081
2009-06-11 05:44:39 +00:00
Lucas Murray
2c0b61630f Sync r926623 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=980080
2009-06-11 05:37:41 +00:00
Lucas Murray
ac1bd1e6ec Sync r926586 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=980079
2009-06-11 05:22:28 +00:00
Huynh Huu Long
74cb4ddd81 Update the decoration to use KWin´s new API
Things to take care of:
* the shadow caching code has to be revised
* shadows sometimes don´t redraw correctly
* error messages like: Couldn't resolve property: linearGradient4203


svn path=/trunk/KDE/kdebase/workspace/; revision=979988
2009-06-10 21:02:50 +00:00
Script Kiddy
5b6ef606f2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=979835

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

M	wallpapers/HighTide/metadata.desktop
2009-06-10 14:56:08 +00:00
Script Kiddy
05627a9db4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=979321
2009-06-09 14:46:53 +00:00
Lucas Murray
3d0301d786 Slight layout change to make more aesthetically pleasing.
svn path=/trunk/KDE/kdebase/workspace/; revision=978871
2009-06-08 12:20:48 +00:00
Lucas Murray
a500f0b97c Remove the blur effect from the 4.3 release due to screen corruption.
svn path=/trunk/KDE/kdebase/workspace/; revision=978778
2009-06-08 07:26:34 +00:00
Thomas Lübking
fbedac8cad BUG: 195518
BUG: 182425
BUG: 181898


svn path=/trunk/KDE/kdebase/workspace/; revision=978605
2009-06-07 17:25:16 +00:00
Michael Pyne
a97146ccda Do not let KWin close just because all open windows have been closed.
svn path=/trunk/KDE/kdebase/workspace/; revision=977968
2009-06-05 18:47:01 +00:00
Script Kiddy
49683ff02a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=977924
2009-06-05 16:15:58 +00:00
Script Kiddy
c2d7281592 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=977508
2009-06-04 13:52:29 +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
Script Kiddy
b81fb96ac8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=976724
2009-06-02 13:43:16 +00:00
Script Kiddy
fde2eb2ea3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=976372
2009-06-01 14:32:51 +00:00
Marco Martin
d9ca4af57f ooops sorry guys, reverting this thing, doesn't belong there
svn path=/trunk/KDE/kdebase/workspace/; revision=975745
2009-05-30 21:58:04 +00:00