svn path=/trunk/kdebase/kwin/; revision=175540
This commit is contained in:
Luboš Luňák 2002-09-03 16:47:41 +00:00
parent e3dddfb21d
commit 427941efea
2 changed files with 3 additions and 3 deletions

View file

@ -1411,7 +1411,7 @@ void Workspace::setActiveClient( Client* c )
{
if ( active_client == c )
return;
if( popup && popup_client != c ) {
if( popup && static_cast< Client* >( popup_client ) != c ) {
popup->close();
popup_client = 0;
}
@ -1781,7 +1781,7 @@ void Workspace::performWindowOperation( Client* c, Options::WindowOperation op )
void Workspace::clientPopupActivated( int id )
{
performWindowOperation( popup_client ? popup_client : active_client, (Options::WindowOperation) id );
performWindowOperation( popup_client ? static_cast< Client* >( popup_client ) : active_client, (Options::WindowOperation) id );
}
/*!

View file

@ -395,7 +395,7 @@ private:
int number_of_desktops;
QMemArray<int> desktop_focus_chain;
Client* popup_client;
QGuardedPtr<Client> popup_client;
void loadSessionInfo();