summaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-07 00:24:58 +0000
committerDana Jansens <danakj@orodu.net>2002-08-07 00:24:58 +0000
commit72c56d793b21cb0dae7a6a3d0baf580dacc4a34f (patch)
tree8081c6b2a86f5408a1514db75007f46155ac1223 /src/Toolbar.cc
parentaa06c07dec30149e7e6ae2cf8703527672f0bc21 (diff)
sync with blackbox
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index a1a6e118..955eb5a0 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -53,16 +53,14 @@ using std::string;
#include "i18n.hh"
#include "blackbox.hh"
-#include "Clientmenu.hh"
#include "Font.hh"
#include "GCCache.hh"
-#include "Iconmenu.hh"
#include "Image.hh"
-#include "Rootmenu.hh"
#include "Screen.hh"
#include "Toolbar.hh"
#include "Window.hh"
#include "Workspace.hh"
+#include "Clientmenu.hh"
#include "Workspacemenu.hh"
#include "Slit.hh"
@@ -910,11 +908,10 @@ void Toolbar::keyPressEvent(const XKeyEvent *ke) {
editing = False;
blackbox->setNoFocus(False);
- if (blackbox->getFocusedWindow()) {
+ if (blackbox->getFocusedWindow())
blackbox->getFocusedWindow()->setInputFocus();
- } else {
+ else
blackbox->setFocusedWindow(0);
- }
// the toolbar will be reconfigured when the change to the workspace name
// gets caught in the PropertyNotify event handler