all repos — openbox @ 1890e3b0e7562a8597f9f9b54744519306858a06

openbox fork - make it a bit more like ryudo

fix 1 crash.
Dana Jansens danakj@orodu.net
commit

1890e3b0e7562a8597f9f9b54744519306858a06

parent

eb6a2e9c4b334f53d714a2e7f10f73c63c3d2edd

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M openbox/screen.copenbox/screen.c

@@ -1098,8 +1098,7 @@ (RANGES_INTERSECT(s->bottom_start, s->bottom_end - s->bottom_start + 1, \

monitor_area[i].x, monitor_area[i].width)) #define RESET_STRUT_LIST(sl) \ - {for (i = 0; sl[i]; ++i) \ - g_slist_free(sl[i]); \ + {if (sl) for (i = 0; sl[i]; ++i) g_slist_free(sl[i]); \ sl = g_renew(GSList*, sl, screen_num_desktops + 1); \ sl[screen_num_desktops] = NULL;} /* null terminated */