SVN_SILENT: code style
svn path=/trunk/KDE/kdebase/workspace/; revision=1126063icc-effect-5.14.5
parent
a1bebb7000
commit
741e0cdecd
15
client.cpp
15
client.cpp
|
@ -1569,21 +1569,24 @@ void Client::setOnAllDesktops( bool b )
|
|||
}
|
||||
|
||||
/**
|
||||
* if @p b is true, sets on all activities.
|
||||
* if @p on is true, sets on all activities.
|
||||
* if it's false, sets it to only be on the current activity
|
||||
*/
|
||||
void Client::setOnAllActivities( bool b )
|
||||
void Client::setOnAllActivities( bool on )
|
||||
{
|
||||
if( b == isOnAllActivities() )
|
||||
if( on == isOnAllActivities() )
|
||||
return;
|
||||
if( b ) {
|
||||
if( on )
|
||||
{
|
||||
activityList.clear();
|
||||
//FIXME update transients
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
setOnActivity(Workspace::self()->currentActivity(), true);
|
||||
//FIXME update transients
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
//FIXME c&p'd from setOnActivity, I probably need more code and should probably factor it out
|
||||
workspace()->updateFocusChains( this, Workspace::FocusChainMakeFirst );
|
||||
|
|
Loading…
Reference in New Issue