It's slashdot feature request time!
+ HMaximizeOp, + VMaximizeOp, + LowerOp, svn path=/trunk/kdebase/kwin/; revision=84551
This commit is contained in:
parent
eeb5bb19e3
commit
d577f604e2
3 changed files with 18 additions and 0 deletions
|
@ -236,6 +236,12 @@ Options::WindowOperation Options::windowOperation(const QString &name){
|
|||
return ShadeOp;
|
||||
else if (name == "Operations")
|
||||
return OperationsOp;
|
||||
else if (name == "Maximize (vertical only)")
|
||||
return VMaximizeOp;
|
||||
else if (name == "Maximize (horizontal only)")
|
||||
return HMaximizeOp;
|
||||
else if (name == "Lower")
|
||||
return LowerOp;
|
||||
return NoOp;
|
||||
}
|
||||
|
||||
|
|
|
@ -213,6 +213,9 @@ public:
|
|||
StaysOnTopOp,
|
||||
OperationsOp,
|
||||
ToggleStoreSettingsOp,
|
||||
HMaximizeOp,
|
||||
VMaximizeOp,
|
||||
LowerOp,
|
||||
NoOp
|
||||
};
|
||||
|
||||
|
|
|
@ -1294,6 +1294,15 @@ void Workspace::performWindowOperation( Client* c, Options::WindowOperation op )
|
|||
case Options::ToggleStoreSettingsOp:
|
||||
c->setStoreSettings( !c->storeSettings() );
|
||||
break;
|
||||
case Options::HMaximizeOp:
|
||||
c->maximize(Client::MaximizeHorizontal);
|
||||
break;
|
||||
case Options::VMaximizeOp:
|
||||
c->maximize(Client::MaximizeVertical);
|
||||
break;
|
||||
case Options::LowerOp:
|
||||
lowerClient(c);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue