diff options
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r-- | src/FocusControl.cc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index bf79d3e..3ba9dc6 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "Workspace.hh" | 28 | #include "Workspace.hh" |
29 | #include "fluxbox.hh" | 29 | #include "fluxbox.hh" |
30 | #include "FbWinFrameTheme.hh" | 30 | #include "FbWinFrameTheme.hh" |
31 | #include "Debug.hh" | ||
31 | 32 | ||
32 | #include "FbTk/EventManager.hh" | 33 | #include "FbTk/EventManager.hh" |
33 | 34 | ||
@@ -39,7 +40,6 @@ | |||
39 | #include <string.h> | 40 | #include <string.h> |
40 | #endif | 41 | #endif |
41 | 42 | ||
42 | using std::cerr; | ||
43 | using std::endl; | 43 | using std::endl; |
44 | using std::string; | 44 | using std::string; |
45 | 45 | ||
@@ -551,14 +551,13 @@ void FocusControl::setFocusedWindow(WinClient *client) { | |||
551 | FocusControl::focusedWindow() ? | 551 | FocusControl::focusedWindow() ? |
552 | &FocusControl::focusedWindow()->screen() : 0; | 552 | &FocusControl::focusedWindow()->screen() : 0; |
553 | 553 | ||
554 | #ifdef DEBUG | 554 | fbdbg<<"------------------"<<endl; |
555 | cerr<<"------------------"<<endl; | 555 | fbdbg<<"Setting Focused window = "<<client<<endl; |
556 | cerr<<"Setting Focused window = "<<client<<endl; | ||
557 | if (client != 0) | 556 | if (client != 0) |
558 | cerr<<"title: "<<client->title()<<endl; | 557 | fbdbg<<"title: "<<client->title()<<endl; |
559 | cerr<<"Current Focused window = "<<s_focused_window<<endl; | 558 | fbdbg<<"Current Focused window = "<<s_focused_window<<endl; |
560 | cerr<<"------------------"<<endl; | 559 | fbdbg<<"------------------"<<endl; |
561 | #endif // DEBUG | 560 | |
562 | 561 | ||
563 | // Update the old focused client to non focus | 562 | // Update the old focused client to non focus |
564 | if (s_focused_fbwindow && | 563 | if (s_focused_fbwindow && |