Commit graph

5430 commits

Author SHA1 Message Date
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
Laurent Montel
5535a9de5e Fix iterator
svn path=/trunk/KDE/kdebase/workspace/; revision=883047
2008-11-11 23:09:11 +00:00
Martin Gräßlin
b274203a6a Merge the coverswitch branch from git://github.com/Zarin/kwin.git (http://github.com/Zarin/kwin/tree/coverswitch)
This includes:
 * use of RotationData instead of glRotate
 * use of x/y/zTranslate instead of glTranslate
 * does not define own projection matrix
 * changed the direction of the animation (consistent with Cover Flow)
 * no special code for start/stop animations. That's now covered in the code 
for "normal" switching, thanks to not using glTranslate any more. Therefore 
minimized windows are faded instead of moved from panel
 * zoom - define how far away the windows appear (only in config dialog possible)
 * additional thumbnail bar which is shown when there are many (>= 8, configurable) windows
 * window covers can be clicked and become selected window

(Sorry for the one big commit - looking forward to the days when we don't lose commit history when using git ;-))

svn path=/trunk/KDE/kdebase/workspace/; revision=883008
2008-11-11 21:32:45 +00:00
Luboš Luňák
7d428058d3 Mark hide() explicitly as a slot, since it's not virtual with Qt4.
Patch by "qiang zhang" <liubingzhq@gmail.com>.


svn path=/trunk/KDE/kdebase/workspace/; revision=882915
2008-11-11 16:31:24 +00:00
Luboš Luňák
83ddb8f249 Make sure the GLX context is destroyed before the window it's been
made current with. Even though it should be allowed to do it afterwards
it seems this can crash AIGLX.
http://lists.freedesktop.org/archives/xorg/2008-November/040168.html
BUG: 174782


svn path=/trunk/KDE/kdebase/workspace/; revision=882880
2008-11-11 15:06:45 +00:00
Script Kiddy
21e596dcf8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=882834

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

M	wallpapers/Finally_Summer_in_Germany/metadata.desktop
M	wallpapers/Flower_drops/metadata.desktop
M	wallpapers/Golden_Ripples/metadata.desktop
M	wallpapers/Ladybuggin/metadata.desktop
M	wallpapers/Leafs_Labyrinth/metadata.desktop
M	wallpapers/Red_Leaf/metadata.desktop
M	wallpapers/There_is_Rain_on_the_Table/metadata.desktop
2008-11-11 13:06:11 +00:00
Martin Gräßlin
9f96d84a12 Option to snow behind windows and small performance improvement by using a glList
svn path=/trunk/KDE/kdebase/workspace/; revision=882720
2008-11-11 11:31:12 +00:00
Script Kiddy
98b787c75b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=882521
2008-11-10 21:24:38 +00:00
Matthias Kretz
1859e1f7ba add kconf_update application to do a one-time cleanup of the libraryPath in Trolltech.conf
svn path=/trunk/KDE/kdebase/workspace/; revision=882364
2008-11-10 16:25:07 +00:00
Michael Jansen
dfc55420e7 - Only record single key global shortcuts
- print a debug message when ignoring the entered shortcuts because
  of conflicts.

svn path=/trunk/KDE/kdebase/workspace/; revision=882188
2008-11-10 00:03:17 +00:00
Script Kiddy
ac2ec9e4d4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=881803
2008-11-08 23:47:39 +00:00
Script Kiddy
1e620b0705 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/; revision=881079
2008-11-07 12:47:36 +00:00
Script Kiddy
b82584776e SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=881004
2008-11-07 07:35:59 +00:00