From 70ececc5d77c173c951525d0a8be237489a7bf43 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 17 May 2002 11:16:26 +0000 Subject: strstream to sstream and minor fix with the a warning --- src/fluxbox.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index d4aefa2..8d988e2 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.57 2002/05/08 10:14:51 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.58 2002/05/17 11:16:26 fluxgen Exp $ //Use GNU extensions #ifndef _GNU_SOURCE @@ -118,7 +118,7 @@ #include #include -#include +#include #include using namespace std; @@ -1092,7 +1092,7 @@ void Fluxbox::handleClientMessage(XClientMessageEvent &ce) { win->changeBlackboxHints(&net); } } else { - bool val = false; + bool val = false; #ifdef GNOME val = checkGnomeAtoms(ce); #endif //!GNOME @@ -1101,6 +1101,8 @@ void Fluxbox::handleClientMessage(XClientMessageEvent &ce) { if (!val) val = checkNETWMAtoms(ce); #endif //!NEWWMSPEC + //disable `unused`-warning + val = true; } } //----------- handleKeyEvent --------------- -- cgit v0.11.2