ksmserver: remove debugging bits

"KSMSERVER_STARTUP_DEBUGl" is not defined btw, drat?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-06-10 19:58:37 +03:00
parent 3be2388c2f
commit c45dc296ab

View file

@ -155,24 +155,6 @@ void KSMServer::clientSetProgram( KSMClient* client )
{
if( client->program() == wm )
autoStart0();
#ifndef KSMSERVER_STARTUP_DEBUGl
if( state == Idle )
{
static int cnt = 0;
if( client->program() == "gedit" && ( cnt == 0 ))
++cnt;
else if( client->program() == "konqueror" && ( cnt == 1 ))
++cnt;
else if( client->program() == "kspaceduel" && ( cnt == 2 ))
++cnt;
else if( client->program() == "gedit" && ( cnt == 3 ))
++cnt;
else
cnt = 0;
if( cnt == 4 )
KMessageBox::information( NULL, "drat" );
}
#endif
}
void KSMServer::wmProcessChange()