diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2010-09-14 23:22:01 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2010-09-14 23:22:01 (GMT) |
commit | 2b62cf973318978bc222db7719552148275887db (patch) | |
tree | 71722be7f293a2433bfbc1de8b32d2ca338d8aa8 /src/FbTk/FbPixmap.cc | |
parent | c6047e9ebab5a0551c866078ed29fdda1e6b8174 (diff) | |
download | fluxbox_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.cc | 2 |
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; |