init the focus_client ptr in startup
This commit is contained in:
parent
b3507a0968
commit
a3c9271ca2
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ void focus_startup()
|
||||||
mapped. */
|
mapped. */
|
||||||
XSetWindowAttributes attrib;
|
XSetWindowAttributes attrib;
|
||||||
|
|
||||||
|
focus_client = NULL;
|
||||||
|
|
||||||
attrib.override_redirect = TRUE;
|
attrib.override_redirect = TRUE;
|
||||||
focus_backup = XCreateWindow(ob_display, ob_root,
|
focus_backup = XCreateWindow(ob_display, ob_root,
|
||||||
-100, -100, 1, 1, 0, 0, InputOnly,
|
-100, -100, 1, 1, 0, 0, InputOnly,
|
||||||
|
|
Loading…
Reference in a new issue