]> Dogcows Code - chaz/openbox/commitdiff
init the focus_client ptr in startup
authorDana Jansens <danakj@orodu.net>
Fri, 21 Mar 2003 10:23:57 +0000 (10:23 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 21 Mar 2003 10:23:57 +0000 (10:23 +0000)
openbox/focus.c

index 6f72e84aa8939416b3fa3eedd3e7af36ea37ad34..551959f4538261e05534f3d27c9fcef7e0456218 100644 (file)
@@ -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,
This page took 0.023971 seconds and 4 git commands to generate.