mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
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:
parent
3be2388c2f
commit
c45dc296ab
1 changed files with 0 additions and 18 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue