Commit graph

9 commits

Author SHA1 Message Date
Martin Gräßlin
9199619969 Remove not implemented add/delete desktop
It is unlikely that anyone will implement it and it is not compatible
to EWMH anyway. So better remove it.
2011-03-13 13:58:00 +01:00
Martin Gräßlin
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Martin Gräßlin
40a2bebe67 Ensure that width*height is not smaller than the number of desktops when setting a new layout.
svn path=/trunk/KDE/kdebase/workspace/; revision=1108238
2010-03-28 09:02:10 +00:00
Lucas Murray
20f1a79d04 Less warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1031490
2009-10-05 09:47:13 +00:00
Lucas Murray
d0825f0515 Fixed desktopAbove/Below/ToLeft/ToRight() coordinate detection.
Prevents crashing when usign spatial desktop switching.

svn path=/trunk/KDE/kdebase/workspace/; revision=926754
2009-02-16 04:12:14 +00:00
Luboš Luňák
b34020efff Fix broken assertion.
svn path=/trunk/KDE/kdebase/workspace/; revision=926177
2009-02-14 19:36:40 +00:00
Lucas Murray
893b0c2c71 Merge DesktopLayout class into Workspace.
svn path=/trunk/KDE/kdebase/workspace/; revision=926020
2009-02-14 15:40:52 +00:00
Lucas Murray
dd28e15a1b Allow desktop effects to access the new DesktopLayout class. Replaced
all code that used calcDesktopLayout() so the function could be removed.
Minor changes to the DesktopLayout class itself.

svn path=/trunk/KDE/kdebase/workspace/; revision=925930
2009-02-14 14:49:46 +00:00
Lucas Murray
4681129e4b Move desktop layout code into a separate file and class. This will allow
adding more complex desktop layout features (Such as desktop
rearranging, and non-rectangular layouts) easier in the future.
Workspace::calcDesktopLayout() has been deprecated.

svn path=/trunk/KDE/kdebase/workspace/; revision=925812
2009-02-14 09:46:12 +00:00