aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbPixmap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbPixmap.cc')
-rw-r--r--src/FbTk/FbPixmap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/FbPixmap.cc b/src/FbTk/FbPixmap.cc
index b8c2856..a80342f 100644
--- a/src/FbTk/FbPixmap.cc
+++ b/src/FbTk/FbPixmap.cc
@@ -356,14 +356,14 @@ void FbPixmap::setRootPixmap(int screen_num, Pixmap pm) {
356 m_root_pixmaps[screen_num] = pm; 356 m_root_pixmaps[screen_num] = pm;
357} 357}
358 358
359Pixmap FbPixmap::getRootPixmap(int screen_num) { 359Pixmap FbPixmap::getRootPixmap(int screen_num, bool force_update) {
360 /* 360 /*
361 if (!FbTk::Transparent::haveRender()) 361 if (!FbTk::Transparent::haveRender())
362 return None; 362 return None;
363 */ 363 */
364 364
365 // check and see if if we have the pixmaps in cache 365 // check and see if if we have the pixmaps in cache
366 if (m_root_pixmaps) 366 if (m_root_pixmaps && !force_update)
367 return m_root_pixmaps[screen_num]; 367 return m_root_pixmaps[screen_num];
368 368
369 // else setup pixmap cache 369 // else setup pixmap cache