Commit graph

12 commits

Author SHA1 Message Date
Arthur Arlt
8c3a0e218a Move tile.cpp, tile.h, tilinglayout.cpp and tiling.h to directory tiling/
The three files are moved to the directory tiling/ and the includes were
adjusted as well as the CMakeLists.txt file.
2011-07-28 13:39:28 +02:00
Arthur Arlt
f29d151220 Use configChanged() signal in TilingLayouts
Since there is a signal triggered if configurations are changed, the
reconfiguration method in TilingLayouts was made a slot and is connected
to the appropriate signal in Workspace.
2011-07-28 13:06:30 +02:00
Arthur Arlt
3634525613 Refactoring Tiling
This initial commit introduces a new class Tiling. It is provided by
the files tiling/tiling.h and tiling/tiling.cpp. It covers all the
Tiling functionality which was provided by Workspace. In this initial
commit, all the functions were just moved and adjusted.
A  new member variable m_tiling is introduced to Workspace, which
makes the new class Tiling accessible from Workspace.
The Tiling pointer is created in the constructor and deleted in
the deconstructor. Also a getter method tiling() is provided.
All calls from other classes are updated to use the methods in class
Tiling now.
2011-07-28 12:35:51 +02:00
Martin Gräßlin
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Nikhil Marathe
2542857b08 Tiles are not deleted when removed from a layout, since we might want to add them to another layout
svn path=/trunk/KDE/kdebase/workspace/; revision=1174360
2010-09-12 05:02:18 +00:00
Nikhil Marathe
c02ac050c5 Delete a tile when it is removed.
removeTileNoArrange() deletes the tile, so removeTile() uses some other tile to attempt a rearrange. If we have no tiles, we don't need to rearrange anyway.

svn path=/trunk/KDE/kdebase/workspace/; revision=1150491
2010-07-16 06:10:40 +00:00
Nikhil Marathe
3ad1949c50 Ensure tiles are deleted when tiling is disabled.
This also returns windows to previous geometry

svn path=/trunk/KDE/kdebase/workspace/; revision=1149542
2010-07-13 16:02:54 +00:00
Nikhil Marathe
5ab491ab1f TilingLayout::clientResized() returns boolean argument.
If resize was attempted it returns true.
This way layouts can use the default implementation
to handle floating windows or unchanged geometry.
The commit() call in the default implementation is also avoided

svn path=/trunk/KDE/kdebase/workspace/; revision=1148579
2010-07-11 06:47:09 +00:00
Nikhil Marathe
3e9377e6b4 Added comments to some tiling related code
svn path=/trunk/KDE/kdebase/workspace/; revision=1124486
2010-05-09 06:15:40 +00:00
Nikhil Marathe
f7c3b38402 Added TilingLayout::reconfigureTiling which respects per window tiling settings and is capable of updating them on the fly by being called from slotReconfigure
svn path=/trunk/KDE/kdebase/workspace/; revision=1123173
2010-05-05 13:52:09 +00:00
Christoph Feck
70acd11ecb SVN_SILENT --warnings
svn path=/trunk/KDE/kdebase/workspace/; revision=1118827
2010-04-25 23:37:38 +00:00
Nikhil Marathe
5fc7e93d69 Tiling is here!
This commit merges the kwin-tiling branch. Ideally it shouldn't break anything and add a few features ;-)
It was applied as a patch. Do not attempt to merge the branch directly, it has a few issues.
This feature is currently experimental, although it hasn't crashed in quite a long time. It lacks some features and probably leaks some memory. Fixes will be on the way.

Season Of KDE 2009 project by Nikhil Marathe

svn path=/trunk/KDE/kdebase/workspace/; revision=1118677
2010-04-25 16:43:14 +00:00