change the debug output in FocusControl::setFocusedWindow()

This commit is contained in:
markt 2006-08-04 00:40:16 +00:00
parent 52d3f3f6b6
commit bb2758f7c6

View file

@ -460,8 +460,8 @@ void FocusControl::setFocusedWindow(WinClient *client) {
#ifdef DEBUG #ifdef DEBUG
cerr<<"------------------"<<endl; cerr<<"------------------"<<endl;
cerr<<"Setting Focused window = "<<client<<endl; cerr<<"Setting Focused window = "<<client<<endl;
if (client != 0 && client->fbwindow() != 0) if (client != 0)
cerr<<"title: "<<client->fbwindow()->title()<<endl; cerr<<"title: "<<client->title()<<endl;
cerr<<"Current Focused window = "<<s_focused_window<<endl; cerr<<"Current Focused window = "<<s_focused_window<<endl;
cerr<<"------------------"<<endl; cerr<<"------------------"<<endl;
#endif // DEBUG #endif // DEBUG