diff options
author | fluxgen <fluxgen> | 2004-09-11 18:58:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-09-11 18:58:27 (GMT) |
commit | 93ffd19686f27ae16fb547f1dafd298f9dc041ae (patch) | |
tree | ebbd633dd3028e04614883f7c2e73ba0458ee8dc /src/Slit.hh | |
parent | 28c32c087adde2b7b1ede54fd3d4db796259ec9f (diff) | |
download | fluxbox_pavel-93ffd19686f27ae16fb547f1dafd298f9dc041ae.zip fluxbox_pavel-93ffd19686f27ae16fb547f1dafd298f9dc041ae.tar.bz2 |
init frame window in frame struct
Diffstat (limited to 'src/Slit.hh')
-rw-r--r-- | src/Slit.hh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Slit.hh b/src/Slit.hh index eea3ad2..8b3249f 100644 --- a/src/Slit.hh +++ b/src/Slit.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | /// $Id: Slit.hh,v 1.41 2004/06/07 11:46:04 rathnor Exp $ | 25 | /// $Id: Slit.hh,v 1.42 2004/09/11 18:58:27 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef SLIT_HH | 27 | #ifndef SLIT_HH |
28 | #define SLIT_HH | 28 | #define SLIT_HH |
@@ -140,6 +140,13 @@ private: | |||
140 | std::string m_filename; | 140 | std::string m_filename; |
141 | 141 | ||
142 | struct frame { | 142 | struct frame { |
143 | frame(const FbTk::FbWindow &parent): | ||
144 | window(parent, 0, 0, 10, 10, | ||
145 | SubstructureRedirectMask | ButtonPressMask | | ||
146 | EnterWindowMask | LeaveWindowMask | ExposureMask, | ||
147 | true), // override redirect | ||
148 | x(0), y(0), x_hidden(0), y_hidden(0), | ||
149 | width(10), height(10) {} | ||
143 | Pixmap pixmap; | 150 | Pixmap pixmap; |
144 | FbTk::FbWindow window; | 151 | FbTk::FbWindow window; |
145 | 152 | ||