aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbPixmap.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-14 23:22:01 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-14 23:22:01 (GMT)
commit2b62cf973318978bc222db7719552148275887db (patch)
tree71722be7f293a2433bfbc1de8b32d2ca338d8aa8 /src/FbTk/FbPixmap.cc
parentc6047e9ebab5a0551c866078ed29fdda1e6b8174 (diff)
downloadfluxbox_pavel-2b62cf973318978bc222db7719552148275887db.zip
fluxbox_pavel-2b62cf973318978bc222db7719552148275887db.tar.bz2
cleanup and code deduplication
* ClientPattern.cc: make compiler happy (complaints about XPROP not handled in switch) * FbTk/FbPixmap.cc FbTk/StringUtil.cc: signed vs unsigned * FbTk/FbString.cc: missing return * WinClient.cc: create atoms only once; use helper function * Window.cc: use a helper function
Diffstat (limited to 'src/FbTk/FbPixmap.cc')
-rw-r--r--src/FbTk/FbPixmap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/FbPixmap.cc b/src/FbTk/FbPixmap.cc
index d63090e..a347e23 100644
--- a/src/FbTk/FbPixmap.cc
+++ b/src/FbTk/FbPixmap.cc
@@ -369,7 +369,7 @@ bool FbPixmap::rootwinPropertyNotify(int screen_num, Atom atom) {
369 return false; 369 return false;
370 370
371 checkAtoms(); 371 checkAtoms();
372 for (int i=0; i < sizeof(root_props)/sizeof(RootProps); ++i) { 372 for (size_t i = 0; i < sizeof(root_props)/sizeof(RootProps); ++i) {
373 if (root_props[i].atom == atom) { 373 if (root_props[i].atom == atom) {
374 Pixmap root_pm = None; 374 Pixmap root_pm = None;
375 Atom real_type; 375 Atom real_type;