aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-08 22:07:58 (GMT)
committerfluxgen <fluxgen>2004-01-08 22:07:58 (GMT)
commitf25aab19562fe50c36fac186f2eb5bd3383e2173 (patch)
tree6b509dfbf50285a378122812a78f7c6a319b4b46 /src/FbTk/FbWindow.cc
parent5643caa65520c7410a87e6daaa55e3b7adb005f8 (diff)
downloadfluxbox-f25aab19562fe50c36fac186f2eb5bd3383e2173.zip
fluxbox-f25aab19562fe50c36fac186f2eb5bd3383e2173.tar.bz2
cleaning
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index ba8a933..9a91099 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.29 2003/12/30 17:17:05 fluxgen Exp $ 22// $Id: FbWindow.cc,v 1.30 2004/01/08 22:04:39 fluxgen Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25 25
@@ -93,8 +93,9 @@ FbWindow::FbWindow(int screen_num,
93 bool override_redirect, 93 bool override_redirect,
94 int depth, 94 int depth,
95 int class_type): 95 int class_type):
96 m_parent(0),
96 m_screen_num(screen_num), 97 m_screen_num(screen_num),
97 m_parent(0), m_destroy(true), 98 m_destroy(true),
98 m_buffer_pm(0) { 99 m_buffer_pm(0) {
99 100
100 create(RootWindow(FbTk::App::instance()->display(), screen_num), 101 create(RootWindow(FbTk::App::instance()->display(), screen_num),
@@ -108,7 +109,8 @@ FbWindow::FbWindow(const FbWindow &parent,
108 bool override_redirect, 109 bool override_redirect,
109 int depth, int class_type): 110 int depth, int class_type):
110 m_parent(&parent), 111 m_parent(&parent),
111 m_screen_num(parent.screenNumber()), m_destroy(true), 112 m_screen_num(parent.screenNumber()),
113 m_destroy(true),
112 m_buffer_pm(0) { 114 m_buffer_pm(0) {
113 115
114 create(parent.window(), x, y, width, height, eventmask, 116 create(parent.window(), x, y, width, height, eventmask,
@@ -117,8 +119,9 @@ FbWindow::FbWindow(const FbWindow &parent,
117 119
118}; 120};
119 121
120FbWindow::FbWindow(Window client):m_parent(0), m_window(0), 122FbWindow::FbWindow(Window client):m_parent(0),
121 m_screen_num(0), 123 m_screen_num(0),
124 m_window(0),
122 m_x(0), m_y(0), 125 m_x(0), m_y(0),
123 m_width(1), m_height(1), 126 m_width(1), m_height(1),
124 m_border_width(0), 127 m_border_width(0),