initialize _modal, its used before the window's type is checked
This commit is contained in:
parent
046df3e746
commit
1da8531a7b
1 changed files with 4 additions and 8 deletions
|
@ -39,22 +39,18 @@ Client::Client(int screen, Window window)
|
||||||
|
|
||||||
// update EVERYTHING the first time!!
|
// update EVERYTHING the first time!!
|
||||||
|
|
||||||
// we default to NormalState, visible
|
// defaults
|
||||||
_wmstate = NormalState;
|
_wmstate = NormalState;
|
||||||
// start unfocused
|
|
||||||
_focused = false;
|
_focused = false;
|
||||||
// not a transient by default of course
|
|
||||||
_transient_for = 0;
|
_transient_for = 0;
|
||||||
// pick a layer to start from
|
|
||||||
_layer = Layer_Normal;
|
_layer = Layer_Normal;
|
||||||
// default to not urgent
|
|
||||||
_urgent = false;
|
_urgent = false;
|
||||||
// not positioned unless specified
|
|
||||||
_positioned = false;
|
_positioned = false;
|
||||||
// nothing is disabled unless specified
|
|
||||||
_disabled_decorations = 0;
|
_disabled_decorations = 0;
|
||||||
// no modal children until they set themselves
|
_modal = false;
|
||||||
_modal_child = 0;
|
_modal_child = 0;
|
||||||
|
_group = None;
|
||||||
|
_desktop = 0;
|
||||||
|
|
||||||
getArea();
|
getArea();
|
||||||
getDesktop();
|
getDesktop();
|
||||||
|
|
Loading…
Reference in a new issue