2010-04-25 16:43:14 +00:00
|
|
|
/********************************************************************
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
|
|
|
|
|
|
|
Copyright (C) 2009 Nikhil Marathe <nsm.nikhil@gmail.com>
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*********************************************************************/
|
|
|
|
|
|
|
|
// all the tiling related code that is extensions to existing KWin classes
|
|
|
|
// Includes Workspace for now
|
|
|
|
|
|
|
|
#include "client.h"
|
|
|
|
#include "workspace.h"
|
|
|
|
#include "tile.h"
|
|
|
|
#include "tilinglayout.h"
|
|
|
|
#include "tilinglayoutfactory.h"
|
|
|
|
|
|
|
|
#include <knotification.h>
|
|
|
|
#include <klocale.h>
|
2010-06-14 15:17:17 +00:00
|
|
|
#include <kwindowinfo.h>
|
|
|
|
#include <kwindowsystem.h>
|
2010-04-25 16:43:14 +00:00
|
|
|
#include "lib/kdecoration.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
2010-05-05 12:09:49 +00:00
|
|
|
bool Workspace::tilingEnabled() const
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
2010-05-05 12:09:49 +00:00
|
|
|
return tilingEnabled_;
|
2010-04-25 16:43:14 +00:00
|
|
|
}
|
|
|
|
|
2010-05-05 12:09:49 +00:00
|
|
|
void Workspace::setTilingEnabled( bool tiling )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
2010-05-05 12:09:49 +00:00
|
|
|
if( tilingEnabled() == tiling ) return;
|
|
|
|
tilingEnabled_ = tiling;
|
2010-04-25 16:43:14 +00:00
|
|
|
|
2010-05-05 12:09:49 +00:00
|
|
|
if( tilingEnabled_ )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
tilingLayouts.resize( numberOfDesktops() + 1 );
|
|
|
|
foreach( Client *c, stackingOrder() )
|
|
|
|
{
|
|
|
|
createTile( c );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2010-05-05 11:51:09 +00:00
|
|
|
qDeleteAll( tilingLayouts );
|
2010-04-25 16:43:14 +00:00
|
|
|
tilingLayouts.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::slotToggleTiling()
|
|
|
|
{
|
2010-05-05 12:09:49 +00:00
|
|
|
if ( tilingEnabled() )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
2010-05-05 12:09:49 +00:00
|
|
|
setTilingEnabled( false );
|
2010-04-25 16:43:14 +00:00
|
|
|
QString message = i18n( "Tiling Disabled" );
|
|
|
|
KNotification::event( "tilingdisabled", message, QPixmap(), NULL, KNotification::CloseOnTimeout, KComponentData( "kwin" ) );
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2010-05-05 12:09:49 +00:00
|
|
|
setTilingEnabled( true );
|
2010-04-25 16:43:14 +00:00
|
|
|
QString message = i18n( "Tiling Enabled" );
|
|
|
|
KNotification::event( "tilingenabled", message, QPixmap(), NULL, KNotification::CloseOnTimeout, KComponentData( "kwin" ) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::createTile( Client *c )
|
|
|
|
{
|
2010-05-05 11:46:19 +00:00
|
|
|
if( c == NULL )
|
|
|
|
return;
|
|
|
|
|
2010-04-25 16:43:14 +00:00
|
|
|
if( c->desktop() < 0 || c->desktop() >= tilingLayouts.size() ) return;
|
|
|
|
|
|
|
|
kDebug(1212) << "Now tiling " << c->caption();
|
2010-05-05 12:09:49 +00:00
|
|
|
if( !tilingEnabled() || !tileable(c) )
|
2010-04-25 16:43:14 +00:00
|
|
|
return;
|
|
|
|
|
|
|
|
Tile *t = new Tile( c, clientArea( PlacementArea, c ) );
|
|
|
|
if( !tileable( c ) )
|
|
|
|
{
|
|
|
|
kDebug(1212) << c->caption() << "is not tileable";
|
|
|
|
t->floatTile();
|
|
|
|
}
|
|
|
|
|
|
|
|
if( !tilingLayouts.value(c->desktop()) )
|
|
|
|
{
|
2010-05-05 11:43:26 +00:00
|
|
|
tilingLayouts[c->desktop()] = TilingLayoutFactory::createLayout( TilingLayoutFactory::DefaultLayout, this );
|
2010-04-25 16:43:14 +00:00
|
|
|
}
|
|
|
|
tilingLayouts[c->desktop()]->addTile( t );
|
|
|
|
tilingLayouts[c->desktop()]->commit();
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::removeTile( Client *c )
|
|
|
|
{
|
|
|
|
if( tilingLayouts[ c->desktop() ] )
|
|
|
|
tilingLayouts[ c->desktop() ]->removeTile( c );
|
|
|
|
}
|
|
|
|
|
|
|
|
bool Workspace::tileable( Client *c )
|
|
|
|
{
|
|
|
|
|
2010-06-14 15:17:17 +00:00
|
|
|
kDebug(1212) << c->caption();
|
|
|
|
KWindowInfo info = KWindowSystem::windowInfo( c->window(), -1U, NET::WM2WindowClass );
|
|
|
|
kDebug(1212) << "WINDOW CLASS IS "<< info.windowClassClass();
|
|
|
|
if( info.windowClassClass() == "Plasma-desktop" )
|
|
|
|
{
|
2010-04-25 16:43:14 +00:00
|
|
|
return false;
|
2010-06-14 15:17:17 +00:00
|
|
|
}
|
|
|
|
// TODO: if application specific settings
|
|
|
|
// to ignore, put them here
|
2010-04-25 16:43:14 +00:00
|
|
|
|
2010-05-05 11:52:53 +00:00
|
|
|
if( !c->isNormalWindow() )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2010-05-05 12:29:35 +00:00
|
|
|
// 0 means tile it, if we get 1 (floating), don't tile
|
|
|
|
if( c->rules()->checkTilingOption( 0 ) == 1 )
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2010-06-14 15:17:17 +00:00
|
|
|
kDebug() << "Tiling" << c;
|
2010-04-25 16:43:14 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::belowCursor()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
Tile* Workspace::getNiceTile() const
|
|
|
|
{
|
2010-05-05 12:09:49 +00:00
|
|
|
if( !tilingEnabled() ) return NULL;
|
2010-04-25 16:43:14 +00:00
|
|
|
if( !tilingLayouts.value( activeClient()->desktop() ) ) return NULL;
|
|
|
|
|
|
|
|
return tilingLayouts[ activeClient()->desktop() ]->findTile( activeClient() );
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::updateAllTiles()
|
|
|
|
{
|
|
|
|
foreach( TilingLayout *t, tilingLayouts )
|
|
|
|
{
|
|
|
|
if( !t ) continue;
|
|
|
|
t->commit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Resize the neighbouring clients to close any gaps
|
|
|
|
*/
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::notifyTilingWindowResize( Client *c, const QRect &moveResizeGeom, const QRect &orig )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
if( tilingLayouts.value( c->desktop() ) == NULL )
|
|
|
|
return;
|
|
|
|
tilingLayouts[ c->desktop() ]->clientResized( c, moveResizeGeom, orig );
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::notifyTilingWindowMove( Client *c, const QRect &moveResizeGeom, const QRect &orig )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
if( tilingLayouts.value( c->desktop() ) == NULL )
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
tilingLayouts[ c->desktop() ]->clientMoved( c, moveResizeGeom, orig );
|
|
|
|
updateAllTiles();
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::notifyTilingWindowResizeDone( Client *c, const QRect &moveResizeGeom, const QRect &orig, bool canceled )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
if( canceled )
|
2010-05-11 11:10:53 +00:00
|
|
|
notifyTilingWindowResize( c, orig, moveResizeGeom );
|
2010-04-25 16:43:14 +00:00
|
|
|
else
|
2010-05-11 11:10:53 +00:00
|
|
|
notifyTilingWindowResize( c, moveResizeGeom, orig );
|
2010-04-25 16:43:14 +00:00
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::notifyTilingWindowMoveDone( Client *c, const QRect &moveResizeGeom, const QRect &orig, bool canceled )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
if( canceled )
|
2010-05-11 11:10:53 +00:00
|
|
|
notifyTilingWindowMove( c, orig, moveResizeGeom );
|
2010-04-25 16:43:14 +00:00
|
|
|
else
|
2010-05-11 11:10:53 +00:00
|
|
|
notifyTilingWindowMove( c, moveResizeGeom, orig );
|
2010-04-25 16:43:14 +00:00
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::notifyTilingWindowDesktopChanged( Client *c, int old_desktop )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
if( c->desktop() < 1 || c->desktop() > numberOfDesktops() )
|
|
|
|
return;
|
|
|
|
|
|
|
|
if( tilingLayouts.value( old_desktop ) )
|
|
|
|
{
|
|
|
|
Tile *t = tilingLayouts[ old_desktop ]->findTile( c );
|
|
|
|
|
|
|
|
// TODO: copied from createTile(), move this into separate method?
|
|
|
|
if( !tilingLayouts.value( c->desktop() ) )
|
|
|
|
{
|
2010-05-05 11:43:26 +00:00
|
|
|
tilingLayouts[c->desktop()] = TilingLayoutFactory::createLayout( TilingLayoutFactory::DefaultLayout, this );
|
2010-04-25 16:43:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if( t )
|
|
|
|
tilingLayouts[ c->desktop() ]->addTile( t );
|
|
|
|
|
|
|
|
tilingLayouts[ old_desktop ]->removeTile( c );
|
|
|
|
tilingLayouts[ old_desktop ]->commit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
2010-05-09 06:15:40 +00:00
|
|
|
* Implements the 3 raising modes in Window Behaviour -> Advanced
|
2010-04-25 16:43:14 +00:00
|
|
|
*/
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::notifyTilingWindowActivated( Client *c )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
if( c == NULL )
|
|
|
|
return;
|
|
|
|
|
|
|
|
if( options->tilingRaisePolicy == 1 ) // individual raise/lowers
|
|
|
|
return;
|
|
|
|
|
|
|
|
if( tilingLayouts.value( c->desktop() ) )
|
|
|
|
{
|
|
|
|
QList<Tile *> tiles = tilingLayouts[ c->desktop() ]->tiles();
|
|
|
|
|
|
|
|
StackingUpdatesBlocker blocker( this );
|
|
|
|
|
|
|
|
Tile *tile_to_raise = tilingLayouts[ c->desktop() ]->findTile( c );
|
|
|
|
|
|
|
|
if( !tile_to_raise )
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
kDebug(1212) << "FOUND TILE";
|
|
|
|
bool raise_floating = false;
|
|
|
|
if( options->tilingRaisePolicy == 2 ) // floating always on top
|
|
|
|
raise_floating = true;
|
|
|
|
else
|
|
|
|
raise_floating = tile_to_raise->floating();
|
|
|
|
|
|
|
|
foreach( Tile *t, tiles )
|
|
|
|
{
|
|
|
|
if( t->floating() == raise_floating && t != tile_to_raise )
|
|
|
|
raiseClient( t->client() );
|
|
|
|
}
|
|
|
|
// raise the current tile last so that it ends up on top
|
|
|
|
// but only if it supposed to be raised, required to support tilingRaisePolicy
|
|
|
|
kDebug(1212) << "Raise floating? " << raise_floating << "to raise is floating?" << tile_to_raise->floating();
|
|
|
|
if( tile_to_raise->floating() == raise_floating )
|
|
|
|
raiseClient( tile_to_raise->client() );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::notifyTilingWindowMinimizeToggled( Client *c )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
if( tilingLayouts.value( c->desktop() ) )
|
|
|
|
{
|
|
|
|
tilingLayouts[ c->desktop() ]->clientMinimizeToggled( c );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::notifyTilingWindowMaximized( Client *c, Options::WindowOperation op )
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
if( tilingLayouts.value( c->desktop() ) )
|
|
|
|
{
|
|
|
|
Tile *t = tilingLayouts[ c->desktop() ]->findTile( c );
|
|
|
|
if( !t )
|
|
|
|
{
|
|
|
|
createTile( c );
|
|
|
|
t = tilingLayouts[ c->desktop() ]->findTile( c );
|
|
|
|
|
|
|
|
// if still no tile, it couldn't be tiled
|
|
|
|
// so ignore it
|
|
|
|
if( !t )
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
// if window IS tiled and a maximize
|
|
|
|
// is attempted, make the window float.
|
|
|
|
// That is all we do since that can
|
|
|
|
// mess up the layout.
|
|
|
|
// In all other cases, don't do
|
|
|
|
// anything, let the user manage toggling
|
|
|
|
// using Meta+F
|
|
|
|
if ( !t->floating()
|
|
|
|
&& ( op == Options::MaximizeOp
|
|
|
|
|| op == Options::HMaximizeOp
|
|
|
|
|| op == Options::VMaximizeOp ) )
|
|
|
|
{
|
|
|
|
tilingLayouts[ c->desktop() ]->toggleFloatTile( c );
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Tile* Workspace::findAdjacentTile( Tile *ref, int d )
|
|
|
|
{
|
|
|
|
QRect reference = ref->geometry();
|
|
|
|
QPoint origin = reference.center();
|
|
|
|
|
|
|
|
Tile *closest = NULL;
|
|
|
|
int minDist = -1;
|
|
|
|
|
|
|
|
QList<Tile *> tiles = tilingLayouts[ ref->client()->desktop() ]->tiles();
|
|
|
|
|
|
|
|
foreach( Tile *t, tiles )
|
|
|
|
{
|
|
|
|
if( t->client() == ref->client() || t->ignoreGeometry() )
|
|
|
|
continue;
|
|
|
|
|
|
|
|
bool consider = false;
|
|
|
|
|
|
|
|
QRect other = t->geometry();
|
|
|
|
QPoint otherCenter = other.center();
|
|
|
|
|
|
|
|
switch( d )
|
|
|
|
{
|
|
|
|
case Tile::Top:
|
|
|
|
consider = otherCenter.y() < origin.y()
|
|
|
|
&& other.bottom() < reference.top();
|
|
|
|
break;
|
|
|
|
|
|
|
|
case Tile::Right:
|
|
|
|
consider = otherCenter.x() > origin.x()
|
|
|
|
&& other.left() > reference.right();
|
|
|
|
break;
|
|
|
|
|
|
|
|
case Tile::Bottom:
|
|
|
|
consider = otherCenter.y() > origin.y()
|
|
|
|
&& other.top() > reference.bottom();
|
|
|
|
break;
|
|
|
|
|
|
|
|
case Tile::Left:
|
|
|
|
consider = otherCenter.x() < origin.x()
|
|
|
|
&& other.right() < reference.left();
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
abort();
|
|
|
|
}
|
|
|
|
|
|
|
|
if( consider )
|
|
|
|
{
|
|
|
|
int dist = ( otherCenter - origin ).manhattanLength();
|
|
|
|
if( minDist > dist || minDist < 0 )
|
|
|
|
{
|
|
|
|
minDist = dist;
|
|
|
|
closest = t;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return closest;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::focusTile( int d )
|
|
|
|
{
|
|
|
|
Tile *t = getNiceTile();
|
|
|
|
if( t )
|
|
|
|
{
|
|
|
|
Tile *adj = findAdjacentTile(t, d);
|
|
|
|
if( adj )
|
|
|
|
activateClient( adj->client() );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::moveTile( int d )
|
|
|
|
{
|
|
|
|
Tile *t = getNiceTile();
|
|
|
|
if( t )
|
|
|
|
{
|
|
|
|
Tile* adj = findAdjacentTile( t, d );
|
|
|
|
|
|
|
|
tilingLayouts[ t->client()->desktop() ]->swapTiles( t, adj );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::slotFocusTileLeft()
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
focusTile( Tile::Left );
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::slotFocusTileRight()
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
focusTile( Tile::Right );
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::slotFocusTileTop()
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
focusTile( Tile::Top );
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::slotFocusTileBottom()
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
focusTile( Tile::Bottom );
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::slotMoveTileLeft()
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
moveTile( Tile::Left );
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::slotMoveTileRight()
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
moveTile( Tile::Right );
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::slotMoveTileTop()
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
moveTile( Tile::Top );
|
|
|
|
}
|
|
|
|
|
2010-05-11 11:10:53 +00:00
|
|
|
void Workspace::slotMoveTileBottom()
|
2010-04-25 16:43:14 +00:00
|
|
|
{
|
|
|
|
moveTile( Tile::Bottom );
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::slotToggleFloating()
|
|
|
|
{
|
|
|
|
Client *c = activeClient();
|
|
|
|
if( tilingLayouts.value( c->desktop() ) )
|
|
|
|
{
|
|
|
|
tilingLayouts[ c->desktop() ]->toggleFloatTile( c );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::slotNextTileLayout()
|
|
|
|
{
|
|
|
|
if( tilingLayouts.value( currentDesktop() ) )
|
|
|
|
{
|
|
|
|
|
|
|
|
tilingLayouts.replace( currentDesktop(), TilingLayoutFactory::nextLayout( tilingLayouts[currentDesktop()] ) );
|
|
|
|
|
|
|
|
tilingLayouts[currentDesktop()]->commit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::slotPreviousTileLayout()
|
|
|
|
{
|
|
|
|
if( tilingLayouts.value( currentDesktop() ) )
|
|
|
|
{
|
|
|
|
|
|
|
|
tilingLayouts.replace( currentDesktop(), TilingLayoutFactory::previousLayout( tilingLayouts[currentDesktop()] ) );
|
|
|
|
|
|
|
|
tilingLayouts[currentDesktop()]->commit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
KDecorationDefines::Position Workspace::supportedTilingResizeMode( Client *c, KDecorationDefines::Position currentMode )
|
|
|
|
{
|
|
|
|
if( tilingLayouts.value( c->desktop() ) )
|
|
|
|
{
|
|
|
|
return tilingLayouts[c->desktop()]->resizeMode( c, currentMode );
|
|
|
|
}
|
|
|
|
return currentMode;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Workspace::dumpTiles() const
|
|
|
|
{
|
|
|
|
foreach( TilingLayout *t, tilingLayouts )
|
|
|
|
{
|
|
|
|
if( !t ) {
|
|
|
|
kDebug(1212) << "EMPTY DESKTOP";
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
kDebug(1212) << "Desktop" << tilingLayouts.indexOf( t );
|
|
|
|
foreach( Tile *tile, t->tiles() )
|
|
|
|
{
|
|
|
|
tile->dumpTile( "--" );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} // namespace
|
|
|
|
|