# # Patch by Mina Naguib # September 5th, 2004 # # This patches OpenBox to fix a focus problem exhibited in mozilla # diff -urN openbox-3.2/openbox/client.c openbox-3.2-mina/openbox/client.c --- openbox-3.2/openbox/client.c 2004-03-31 02:40:06.000000000 -0500 +++ openbox-3.2-mina/openbox/client.c 2004-09-05 09:15:50.756413592 -0400 @@ -1348,8 +1348,9 @@ gboolean ur = FALSE; GSList *it; - /* assume a window takes input if it doesnt specify */ - self->can_focus = TRUE; + /* assume a window does NOT take input if it doesnt specify + as in the case of mozilla for example */ + self->can_focus = FALSE; if ((hints = XGetWMHints(ob_display, self->window)) != NULL) { if (hints->flags & InputHint)