diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-25 05:15:17 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-25 05:15:17 (GMT) |
commit | eaabe0321d66d348405f32eacda2be6acb018eca (patch) | |
tree | 7acadcedb74bf73ec45589bf1c10bdb2a62215ae /src/FbTk/FbWindow.cc | |
parent | 934bd42ace868247316b7565ea19bb90c1f1a03f (diff) | |
download | fluxbox-eaabe0321d66d348405f32eacda2be6acb018eca.zip fluxbox-eaabe0321d66d348405f32eacda2be6acb018eca.tar.bz2 |
make bit depth accessible from an FbDrawable
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r-- | src/FbTk/FbWindow.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc index f8141cf..12492d9 100644 --- a/src/FbTk/FbWindow.cc +++ b/src/FbTk/FbWindow.cc | |||
@@ -69,7 +69,7 @@ FbWindow::FbWindow(int screen_num, | |||
69 | long eventmask, | 69 | long eventmask, |
70 | bool override_redirect, | 70 | bool override_redirect, |
71 | bool save_unders, | 71 | bool save_unders, |
72 | int depth, | 72 | unsigned int depth, |
73 | int class_type): | 73 | int class_type): |
74 | FbDrawable(), | 74 | FbDrawable(), |
75 | m_parent(0), | 75 | m_parent(0), |
@@ -89,7 +89,7 @@ FbWindow::FbWindow(const FbWindow &parent, | |||
89 | long eventmask, | 89 | long eventmask, |
90 | bool override_redirect, | 90 | bool override_redirect, |
91 | bool save_unders, | 91 | bool save_unders, |
92 | int depth, int class_type): | 92 | unsigned int depth, int class_type): |
93 | m_parent(&parent), | 93 | m_parent(&parent), |
94 | m_screen_num(parent.screenNumber()), | 94 | m_screen_num(parent.screenNumber()), |
95 | m_destroy(true), | 95 | m_destroy(true), |
@@ -599,7 +599,7 @@ void FbWindow::updateGeometry() { | |||
599 | void FbWindow::create(Window parent, int x, int y, | 599 | void FbWindow::create(Window parent, int x, int y, |
600 | unsigned int width, unsigned int height, | 600 | unsigned int width, unsigned int height, |
601 | long eventmask, bool override_redirect, | 601 | long eventmask, bool override_redirect, |
602 | bool save_unders, int depth, int class_type) { | 602 | bool save_unders, unsigned int depth, int class_type) { |
603 | 603 | ||
604 | 604 | ||
605 | m_border_width = 0; | 605 | m_border_width = 0; |