From: Dana Jansens Date: Fri, 21 Mar 2003 10:23:57 +0000 (+0000) Subject: init the focus_client ptr in startup X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=a3c9271ca2f7c48ab75398bb434f4c1ee705866a;p=chaz%2Fopenbox init the focus_client ptr in startup --- diff --git a/openbox/focus.c b/openbox/focus.c index 6f72e84a..551959f4 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -22,6 +22,8 @@ void focus_startup() mapped. */ XSetWindowAttributes attrib; + focus_client = NULL; + attrib.override_redirect = TRUE; focus_backup = XCreateWindow(ob_display, ob_root, -100, -100, 1, 1, 0, 0, InputOnly,