summaryrefslogtreecommitdiff
path: root/src/client.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-03 22:35:07 +0000
committerDana Jansens <danakj@orodu.net>2003-02-03 22:35:07 +0000
commit1da8531a7b4eea22592b6d0760352d2a34e9b6b0 (patch)
treeea35960acfd23166df4361c32fb3ccf4d6aa70f6 /src/client.cc
parent046df3e746fc608bf202419028549b9cff149db5 (diff)
initialize _modal, its used before the window's type is checked
Diffstat (limited to 'src/client.cc')
-rw-r--r--src/client.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/client.cc b/src/client.cc
index 51c987d3..43c35ca8 100644
--- a/src/client.cc
+++ b/src/client.cc
@@ -39,22 +39,18 @@ Client::Client(int screen, Window window)
// update EVERYTHING the first time!!
- // we default to NormalState, visible
+ // defaults
_wmstate = NormalState;
- // start unfocused
_focused = false;
- // not a transient by default of course
_transient_for = 0;
- // pick a layer to start from
_layer = Layer_Normal;
- // default to not urgent
_urgent = false;
- // not positioned unless specified
_positioned = false;
- // nothing is disabled unless specified
_disabled_decorations = 0;
- // no modal children until they set themselves
+ _modal = false;
_modal_child = 0;
+ _group = None;
+ _desktop = 0;
getArea();
getDesktop();