Commit graph

5592 commits

Author SHA1 Message Date
Lucas Murray
2385ed545b Make parts of the shadow texture that are under windows transparent.
Fixes translucent windows graphical glitch.

svn path=/trunk/KDE/kdebase/workspace/; revision=889744
2008-11-27 14:25:59 +00:00
Lucas Murray
117cb5719f Move repeated code into a helper function.
svn path=/trunk/KDE/kdebase/workspace/; revision=889733
2008-11-27 13:38:35 +00:00
Lucas Murray
e4d54bd4de Implement XRender shadow brightness.
svn path=/trunk/KDE/kdebase/workspace/; revision=889724
2008-11-27 13:20:26 +00:00
Script Kiddy
08b2d13fdc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=889700
2008-11-27 12:29:58 +00:00
Script Kiddy
02a8cecb2e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=889319
2008-11-26 14:02:48 +00:00
Lucas Murray
2b22689c45 Paint effect text onto a QImage instead of a QPixmap. Makes OpenGL mode
faster, XRender slower and works around a subpixel font rendering problem.
BUG: 173089

svn path=/trunk/KDE/kdebase/workspace/; revision=888946
2008-11-25 15:15:26 +00:00
Lucas Murray
e77541ab7f Replaced outdated URL.
svn path=/trunk/KDE/kdebase/workspace/; revision=888945
2008-11-25 15:15:15 +00:00
Script Kiddy
ec2dc23430 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=888883
2008-11-25 13:11:07 +00:00
Lucas Murray
7c0628f337 Reload decorations when any shadow-related settings are changed.
svn path=/trunk/KDE/kdebase/workspace/; revision=888747
2008-11-25 10:06:44 +00:00
Lucas Murray
1a97abea6d Implement and activate shadow effect settings relating to default shadow
overrides.

svn path=/trunk/KDE/kdebase/workspace/; revision=888722
2008-11-25 09:10:52 +00:00
Lucas Murray
9dc6216729 Correct implementation of r886439.
BUG: 136949

svn path=/trunk/KDE/kdebase/workspace/; revision=888667
2008-11-25 03:23:59 +00:00
Lucas Murray
2bb64077e7 Don't allow windows to cast shadows on screens they are not on.
BUG: 176018

svn path=/trunk/KDE/kdebase/workspace/; revision=888665
2008-11-25 02:58:28 +00:00
David Nadlinger
5f835b7c31 Modified a few comments; changed indenting to comply with the KWin coding standards.
svn path=/trunk/KDE/kdebase/workspace/; revision=888660
2008-11-25 01:45:09 +00:00
David Nadlinger
d79ef83183 When modifying the compositing settings, save a backup of kwinrc to another file to be able to revert if the X server crashes while testing the new config.
Also fixed a little bug in kcmkwincompositing (dropdowns on the general tab were not updated correctly) and cleaned up the code a bit (removed a few unneeded function calls and stale connects).

See the conversation on the mailing list ("Patch for bug 174769", http://lists.kde.org/?l=kwin&m=122696916611602) for further information.

BUG 174769


svn path=/trunk/KDE/kdebase/workspace/; revision=888659
2008-11-25 01:42:30 +00:00
Lucas Murray
37f7fdacfd Added support for decoration shadows in XRender mode.
Fixed memory leak where the default shadow textures were not being
deleted when shadows are reloaded.
Renamed a few OpenGL variables so they are not as confusing.

svn path=/trunk/KDE/kdebase/workspace/; revision=888449
2008-11-24 13:52:25 +00:00
Script Kiddy
d84b5375ad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=888401

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/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-11-24 12:48:17 +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
Script Kiddy
e6390ab42c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=887993
2008-11-23 12:17:39 +00:00
Script Kiddy
5bc7b15bad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/kstyles/; revision=887653
2008-11-22 14:38:01 +00:00
Script Kiddy
5198cc2536 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=886894

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/Colorado_Farm/metadata.desktop
M	wallpapers/Curls_on_Green/metadata.desktop
M	wallpapers/Emotion/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/Golden_Ripples/metadata.desktop
M	wallpapers/Green_Concentration/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/Skeeter_Hawk/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
M	wallpapers/Vector_Sunset/metadata.desktop
2008-11-20 13:51:52 +00:00
Lucas Murray
04f26ad6bb Revert r886439
CCBUG: 136949

svn path=/trunk/KDE/kdebase/workspace/; revision=886742
2008-11-19 22:48:21 +00:00
Script Kiddy
afe4f9c0e0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=886543
2008-11-19 14:25:52 +00:00
Lucas Murray
b37468c3b8 Prevent crash when forcing a window onto a non-existant desktop.
Can't work out why it doesn't move the window back onto the correct
desktop once it's restored though.
BUG: 136949

svn path=/trunk/KDE/kdebase/workspace/; revision=886439
2008-11-19 09:08:47 +00:00
Lucas Murray
3a57e33bf6 Fixed bug where some windows were not raised when they were moved.
Fixed possible bug when the moving window is deleted.

svn path=/trunk/KDE/kdebase/workspace/; revision=886399
2008-11-19 07:46:01 +00:00
Lucas Murray
f11107c987 Don't create an input window if there is no windows.
BUG: 175541

svn path=/trunk/KDE/kdebase/workspace/; revision=886374
2008-11-19 03:41:38 +00:00
Script Kiddy
af074404c8 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/; revision=886131

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/Golden_Ripples/metadata.desktop
2008-11-18 16:15:42 +00:00
Lucas Murray
20605ddca1 Mark the slide plugin as being a fullscreen effect.
CCBUG: 167928

svn path=/trunk/KDE/kdebase/workspace/; revision=886018
2008-11-18 13:36:34 +00:00
Martin Gräßlin
8c09fbc62a Disable blur effect when there is an active fullscreen effect. This makes cube & co. work if blur is enabled. It's a hack and the real reason why the problem occurs should be searched for. (I totally forgot to commit this patch)
BUG: 167928

svn path=/trunk/KDE/kdebase/workspace/; revision=885931
2008-11-18 08:20:37 +00:00
Stephan Binner
7929582374 i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/; revision=885677
2008-11-17 18:35:18 +00:00
Leonardo Finetti
734c19e203 Patch by annma. Tested by me :-)
BUG: 162649


svn path=/trunk/KDE/kdebase/workspace/; revision=885645
2008-11-17 16:01:18 +00:00
Lucas Murray
6d41a1320e Moved all debug, warning and error messages into the KWin 1212 area.
Replaced deprecated kdDebug() with kDebug().
Removed empty debug messages.

svn path=/trunk/KDE/kdebase/workspace/; revision=885620
2008-11-17 15:04:52 +00:00
Andreas Pakulat
001ad181d0 Link against kephal as its beeing used now in kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=885619
2008-11-17 15:02:28 +00:00
Lucas Murray
8dc1adf740 Sync r875775 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=885591
2008-11-17 13:55:54 +00:00
Lucas Murray
babaddb9d5 Sync r875191 from Oxygen.
svn path=/trunk/KDE/kdebase/workspace/; revision=885590
2008-11-17 13:55:43 +00:00
Jason vanRijn Kasper
fb0a01228f This change allows KWin to use the new NETWinInfo2 class (binary
compatibility class) and subsequently properly handle the
_NET_WM_FULLSCREEN_MONITORS EWMH spec hint.

svn path=/trunk/KDE/kdebase/workspace/; revision=885362
2008-11-17 08:03:39 +00:00
Script Kiddy
0eb042c984 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=885172
2008-11-16 18:21:37 +00:00
Pino Toscano
20d67bbf90 revert workaround, correctly fixed in the parent CMakeLists.txt
svn path=/trunk/KDE/kdebase/workspace/; revision=884628
2008-11-15 15:34:45 +00:00
Pino Toscano
9064682be8 correct find the kephal include dir when compiling "workspace" alone
svn path=/trunk/KDE/kdebase/workspace/; revision=884624
2008-11-15 15:31:07 +00:00
Tim Beaulen
aecb24a89d And another one where kwin didn't find kephal/screens.h
svn path=/trunk/KDE/kdebase/workspace/; revision=884617
2008-11-15 15:13:33 +00:00
Tim Beaulen
6cb544e4c3 Should fix kwin from not finding kephal/screens.h
svn path=/trunk/KDE/kdebase/workspace/; revision=884616
2008-11-15 15:11:10 +00:00
Lucas Murray
c84d39b5df Complete port to Kephal.
svn path=/trunk/KDE/kdebase/workspace/; revision=884554
2008-11-15 11:38:26 +00:00
Guillaume Pothier
f780e8b68b Kephalized plasma and kwin: replaced usage of QDesktopWidget by Kephal
svn path=/trunk/KDE/kdebase/workspace/; revision=884482
2008-11-15 03:04:44 +00:00
Martin Gräßlin
e1d4d50cd6 Some more optimizations to snow effect:
* move position updates of flakes to shader
* remove the for-loop which updates the flakes. This is handled in the loop for painting the flakes
* Don't test in each frame if a flake is on the screen. Precalculate the number of frames when then flake is on the screen and count the flakes.
* Set PAINT_SCREEN_TRANSFORMED
* Remove all unneeded code (like a QTime object when we already get the time in the method)

Now it takes ~ 17 % of CPU usage on my system. Seems to be the maximum of what is possible.

svn path=/trunk/KDE/kdebase/workspace/; revision=884305
2008-11-14 16:18:34 +00:00
Lucas Murray
c00589e6d7 Added message to help users find the advanced desktop borders setting.
Allow all large labels to word wrap, fixes resizing minimum size.

svn path=/trunk/KDE/kdebase/workspace/; revision=884234
2008-11-14 13:28:13 +00:00
Lucas Murray
b0ed226d94 Fixed hideen previews and smooth scaling advanced options not triggering
a compositing reinitialization when changed.

svn path=/trunk/KDE/kdebase/workspace/; revision=884221
2008-11-14 13:18:03 +00:00
Lucas Murray
ff8c9c2468 SVN_SILENT Disable the advanced tab when desktop effects are disabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=884200
2008-11-14 12:46:11 +00:00
Lucas Murray
2cfcdf66f7 Moved desktop effect advanced options GUI from a dialog into a tab.
svn path=/trunk/KDE/kdebase/workspace/; revision=884186
2008-11-14 12:36:59 +00:00
Lucas Murray
a3f7f13f70 Cleaned up desktop effect GUI, moved screen edges to a separate tab.
svn path=/trunk/KDE/kdebase/workspace/; revision=884135
2008-11-14 11:53:25 +00:00
Martin Gräßlin
8ecaefebcc Adding optional shader to snow effect. Shader is used when hardware support is available.
Using shader reduces CPU load from approximately 50 % to less than 20 % on my system.

svn path=/trunk/KDE/kdebase/workspace/; revision=883348
2008-11-12 18:38:36 +00:00