Correct the "switch to group window" list and behaviour of the "to the
left/right" actions when right-clicking on an inactive tab in a titlebar. svn path=/trunk/KDE/kdebase/workspace/; revision=1049639
This commit is contained in:
parent
e0bee92151
commit
88a85b1b61
1 changed files with 2 additions and 2 deletions
|
@ -310,7 +310,7 @@ void Workspace::initSwitchToTab()
|
|||
void Workspace::slotSwitchToTab( QAction* action )
|
||||
{
|
||||
int side = action->data().toInt();
|
||||
int c_id = active_popup_client->clientGroup()->indexOfClient( active_popup_client );
|
||||
int c_id = active_popup_client->clientGroup()->indexOfVisibleClient();
|
||||
int size = active_popup_client->clientGroup()->clients().count();
|
||||
if( side == 0 ) // Left
|
||||
{
|
||||
|
@ -353,7 +353,7 @@ void Workspace::switchToTabPopupAboutToShow()
|
|||
int index = 2;
|
||||
foreach( Client* c, active_popup_client->clientGroup()->clients() )
|
||||
{
|
||||
if( c != active_popup_client )
|
||||
if( c != active_popup_client->clientGroup()->visible() )
|
||||
{
|
||||
action = switch_to_tab_popup->addAction( c->caption() );
|
||||
action->setData( index );
|
||||
|
|
Loading…
Reference in a new issue