aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbPixmap.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2006-06-24 13:11:27 (GMT)
committersimonb <simonb>2006-06-24 13:11:27 (GMT)
commit1d0b23bd020c9185dc9cbf8952ab97a27f061be0 (patch)
tree90cb1dbe339ec4edbac9bd6a55b910ccc3e73e77 /src/FbTk/FbPixmap.hh
parent5fc5ec3374ad903cdf6a2c6b30ce7d8de54d087b (diff)
downloadfluxbox_pavel-1d0b23bd020c9185dc9cbf8952ab97a27f061be0.zip
fluxbox_pavel-1d0b23bd020c9185dc9cbf8952ab97a27f061be0.tar.bz2
fix disappearing menu selection boxes
Diffstat (limited to 'src/FbTk/FbPixmap.hh')
-rw-r--r--src/FbTk/FbPixmap.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/FbTk/FbPixmap.hh b/src/FbTk/FbPixmap.hh
index 2935978..dab364a 100644
--- a/src/FbTk/FbPixmap.hh
+++ b/src/FbTk/FbPixmap.hh
@@ -77,12 +77,19 @@ public:
77 unsigned int width, unsigned int height, 77 unsigned int width, unsigned int height,
78 unsigned int depth); 78 unsigned int depth);
79 79
80 /* Will be reset to false whenever this pixmap is reassigned */
81 void dontFree() { m_dont_free = true; }
82
80private: 83private:
81 void free(); 84 void free();
85
82 Pixmap m_pm; 86 Pixmap m_pm;
83 unsigned int m_width, m_height; 87 unsigned int m_width, m_height;
84 unsigned int m_depth; 88 unsigned int m_depth;
85 89
90 // if pixmap not *owned* by this object (eg assigned from cache object)
91 bool m_dont_free;
92
86 /// Functions relating to the maintenance of root window pixmap caching 93 /// Functions relating to the maintenance of root window pixmap caching
87 static void checkAtoms(); 94 static void checkAtoms();
88 95