diff options
author | markt <markt> | 2007-03-06 19:40:38 (GMT) |
---|---|---|
committer | markt <markt> | 2007-03-06 19:40:38 (GMT) |
commit | 40c0c7c3646d854430919eff2b211e5f0c7bf780 (patch) | |
tree | 444a9639c4808aef296d3253f7c7814ff18e5880 /src/RootTheme.hh | |
parent | ed3731fa30c8563e1187ff72528fcc2ca567c43d (diff) | |
download | fluxbox_pavel-40c0c7c3646d854430919eff2b211e5f0c7bf780.zip fluxbox_pavel-40c0c7c3646d854430919eff2b211e5f0c7bf780.tar.bz2 |
fixed bug with keys not working when using a style background
Diffstat (limited to 'src/RootTheme.hh')
-rw-r--r-- | src/RootTheme.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/RootTheme.hh b/src/RootTheme.hh index abfea7c..63be8b0 100644 --- a/src/RootTheme.hh +++ b/src/RootTheme.hh | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <string> | 33 | #include <string> |
34 | 34 | ||
35 | class BackgroundItem; | 35 | class BackgroundItem; |
36 | class BScreen; | ||
36 | 37 | ||
37 | namespace FbTk { | 38 | namespace FbTk { |
38 | class ResourceManager; | 39 | class ResourceManager; |
@@ -45,7 +46,7 @@ public: | |||
45 | /// constructor | 46 | /// constructor |
46 | /// @param resmanager resource manager for finding specific resources | 47 | /// @param resmanager resource manager for finding specific resources |
47 | /// @param image_control for rendering background texture | 48 | /// @param image_control for rendering background texture |
48 | RootTheme(FbTk::ImageControl &image_control); | 49 | RootTheme(FbTk::ImageControl &image_control, BScreen *scrn = 0); |
49 | ~RootTheme(); | 50 | ~RootTheme(); |
50 | 51 | ||
51 | bool fallback(FbTk::ThemeItem_base &item); | 52 | bool fallback(FbTk::ThemeItem_base &item); |
@@ -61,6 +62,7 @@ public: | |||
61 | } | 62 | } |
62 | 63 | ||
63 | private: | 64 | private: |
65 | BScreen *m_screen; | ||
64 | BackgroundItem *m_background;///< background image/texture | 66 | BackgroundItem *m_background;///< background image/texture |
65 | FbTk::GContext m_opgc; | 67 | FbTk::GContext m_opgc; |
66 | FbTk::ImageControl &m_image_ctrl; ///< image control for rendering background texture | 68 | FbTk::ImageControl &m_image_ctrl; ///< image control for rendering background texture |