Commit graph

5 commits

Author SHA1 Message Date
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