From aacfa220ede8ab8eb0f8c095dd0ef1542a804398 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Tue, 9 Sep 2008 10:23:33 -0400 Subject: fix compiling and don't start minimized --- src/FbPager.cc | 4 ++-- src/FbTk/StringUtil.cc | 3 ++- src/FluxboxHandler.cc | 4 ---- src/FluxboxHandler.hh | 2 +- src/main.cc | 1 + 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/FbPager.cc b/src/FbPager.cc index 88bd7fa..bf55eb4 100644 --- a/src/FbPager.cc +++ b/src/FbPager.cc @@ -327,8 +327,8 @@ FbPager::FbPager(int screen_num, bool withdraw, if (!withdraw) { WindowHint hint; hint.add(WindowHint::WHINT_NO_DECOR | WindowHint::WHINT_SKIP_TASKBAR | - WindowHint::WHINT_STICKY | WindowHint::WHINT_SKIP_PAGER | - WindowHint::WHINT_HIDDEN | extra_flags ); + WindowHint::WHINT_STICKY | WindowHint::WHINT_SKIP_PAGER | + extra_flags ); ClientHandlerList::iterator it = m_clienthandlers.begin(); ClientHandlerList::iterator it_end = m_clienthandlers.end(); for (; it != it_end; ++it) diff --git a/src/FbTk/StringUtil.cc b/src/FbTk/StringUtil.cc index 5ed0556..4b29090 100644 --- a/src/FbTk/StringUtil.cc +++ b/src/FbTk/StringUtil.cc @@ -30,8 +30,9 @@ #include #include #include +#include -using namespace std; +using std::string; namespace FbTk { diff --git a/src/FluxboxHandler.cc b/src/FluxboxHandler.cc index 32bfcc8..23fa1c6 100644 --- a/src/FluxboxHandler.cc +++ b/src/FluxboxHandler.cc @@ -92,10 +92,6 @@ void FluxboxHandler::sendToWorkspace(FbTk::FbWindow &client, int workspace) { workspace); } -void FluxboxHandler::closeWindow(FbTk::FbWindow &win) { -} - - bool FluxboxHandler::clientMessage(Pager &pager, XClientMessageEvent &event) { const FbAtoms &fbatoms = *FbAtoms::instance(); if (event.data.l[0] == fbatoms.getFluxboxNotifyWorkspaceCountAtom()) { diff --git a/src/FluxboxHandler.hh b/src/FluxboxHandler.hh index 55546b5..7d63e70 100644 --- a/src/FluxboxHandler.hh +++ b/src/FluxboxHandler.hh @@ -35,7 +35,7 @@ public: void setFocus(FbTk::FbWindow &win); void moveResize(FbTk::FbWindow &win) { } void sendToWorkspace(FbTk::FbWindow &win, int workspace); - void closeWindow(FbTk::FbWindow &win); + void closeWindow(FbTk::FbWindow &win) { } bool clientMessage(Pager &pager, XClientMessageEvent &event); void changeWorkspace(int screen_num, int workspace); void setHints(FbTk::FbWindow &win, WindowHint &hints); diff --git a/src/main.cc b/src/main.cc index b8190c5..481b5f3 100644 --- a/src/main.cc +++ b/src/main.cc @@ -27,6 +27,7 @@ #include #include #include +#include #include "version.h" using namespace std; -- cgit v0.11.2