aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-10 13:26:37 (GMT)
committerfluxgen <fluxgen>2003-05-10 13:26:37 (GMT)
commitf3098da834fa90447212c7a261d870fb31d72bdb (patch)
tree916efb1c2991448ddf5230533ab26dc80d22bb0b
parent03a54fff5a9aea4f36a53ab02037a7fac945b698 (diff)
downloadfluxbox_pavel-f3098da834fa90447212c7a261d870fb31d72bdb.zip
fluxbox_pavel-f3098da834fa90447212c7a261d870fb31d72bdb.tar.bz2
bit depth
-rw-r--r--src/FbTk/FbWindow.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index b5b02c8..9b2b976 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWindow.cc,v 1.14 2003/05/06 23:50:31 fluxgen Exp $ 22// $Id: FbWindow.cc,v 1.15 2003/05/10 13:26:37 fluxgen Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25#include "EventManager.hh" 25#include "EventManager.hh"
@@ -34,7 +34,7 @@ namespace FbTk {
34Display *FbWindow::s_display = 0; 34Display *FbWindow::s_display = 0;
35 35
36FbWindow::FbWindow():m_parent(0), m_screen_num(0), m_window(0), m_x(0), m_y(0), 36FbWindow::FbWindow():m_parent(0), m_screen_num(0), m_window(0), m_x(0), m_y(0),
37 m_width(0), m_height(0), m_border_width(0), m_destroy(true) { 37 m_width(0), m_height(0), m_border_width(0), m_depth(0), m_destroy(true) {
38 38
39 if (s_display == 0) 39 if (s_display == 0)
40 s_display = App::instance()->display(); 40 s_display = App::instance()->display();
@@ -184,6 +184,7 @@ void FbWindow::updateGeometry() {
184 XGetGeometry(s_display, m_window, &root, &m_x, &m_y, 184 XGetGeometry(s_display, m_window, &root, &m_x, &m_y,
185 (unsigned int *)&m_width, (unsigned int *)&m_height, 185 (unsigned int *)&m_width, (unsigned int *)&m_height,
186 &border_width, &depth); 186 &border_width, &depth);
187 m_depth = depth;
187} 188}
188 189
189void FbWindow::create(Window parent, int x, int y, 190void FbWindow::create(Window parent, int x, int y,