tilingLayout is now an enum rather than an int faking as an enum :-)
svn path=/trunk/KDE/kdebase/workspace/; revision=1123125
This commit is contained in:
parent
c4206d4195
commit
b87fa7ef41
2 changed files with 3 additions and 2 deletions
|
@ -125,7 +125,7 @@ unsigned long Options::updateSettings()
|
||||||
shadeHoverInterval = config.readEntry("ShadeHoverInterval", 250 );
|
shadeHoverInterval = config.readEntry("ShadeHoverInterval", 250 );
|
||||||
|
|
||||||
tilingOn = config.readEntry( "TilingOn", false );
|
tilingOn = config.readEntry( "TilingOn", false );
|
||||||
tilingLayout = config.readEntry( "TilingDefaultLayout", 0 );
|
tilingLayout = static_cast<TilingLayoutFactory::Layouts>(config.readEntry( "TilingDefaultLayout", 0 ));
|
||||||
tilingRaisePolicy = config.readEntry( "TilingRaisePolicy", 0 );
|
tilingRaisePolicy = config.readEntry( "TilingRaisePolicy", 0 );
|
||||||
|
|
||||||
// important: autoRaise implies ClickRaise
|
// important: autoRaise implies ClickRaise
|
||||||
|
|
|
@ -29,6 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "placement.h"
|
#include "placement.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
#include "tilinglayoutfactory.h"
|
||||||
|
|
||||||
namespace KWin
|
namespace KWin
|
||||||
{
|
{
|
||||||
|
@ -124,7 +125,7 @@ class Options : public KDecorationOptions
|
||||||
/**
|
/**
|
||||||
* Tiling Layout
|
* Tiling Layout
|
||||||
*/
|
*/
|
||||||
int tilingLayout;
|
enum TilingLayoutFactory::Layouts tilingLayout;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tiling window raise policy.
|
* Tiling window raise policy.
|
||||||
|
|
Loading…
Reference in a new issue