aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-05-17 11:16:26 (GMT)
committerfluxgen <fluxgen>2002-05-17 11:16:26 (GMT)
commit70ececc5d77c173c951525d0a8be237489a7bf43 (patch)
tree4995bdf9f55d15a0a1dbe9f46cf7002d13118e77
parentc0e2ccff443c5237c3f84abd8b43c276c66cfa87 (diff)
downloadfluxbox-70ececc5d77c173c951525d0a8be237489a7bf43.zip
fluxbox-70ececc5d77c173c951525d0a8be237489a7bf43.tar.bz2
strstream to sstream and minor fix with the a warning
-rw-r--r--src/fluxbox.cc8
1 files 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 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.57 2002/05/08 10:14:51 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.58 2002/05/17 11:16:26 fluxgen Exp $
26 26
27//Use GNU extensions 27//Use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -118,7 +118,7 @@
118 118
119#include <iostream> 119#include <iostream>
120#include <string> 120#include <string>
121#include <strstream> 121#include <sstream>
122#include <memory> 122#include <memory>
123 123
124using namespace std; 124using namespace std;
@@ -1092,7 +1092,7 @@ void Fluxbox::handleClientMessage(XClientMessageEvent &ce) {
1092 win->changeBlackboxHints(&net); 1092 win->changeBlackboxHints(&net);
1093 } 1093 }
1094 } else { 1094 } else {
1095 bool val = false; 1095 bool val = false;
1096 #ifdef GNOME 1096 #ifdef GNOME
1097 val = checkGnomeAtoms(ce); 1097 val = checkGnomeAtoms(ce);
1098 #endif //!GNOME 1098 #endif //!GNOME
@@ -1101,6 +1101,8 @@ void Fluxbox::handleClientMessage(XClientMessageEvent &ce) {
1101 if (!val) 1101 if (!val)
1102 val = checkNETWMAtoms(ce); 1102 val = checkNETWMAtoms(ce);
1103 #endif //!NEWWMSPEC 1103 #endif //!NEWWMSPEC
1104 //disable `unused`-warning
1105 val = true;
1104 } 1106 }
1105} 1107}
1106//----------- handleKeyEvent --------------- 1108//----------- handleKeyEvent ---------------