fix 1 crash.
This commit is contained in:
parent
eb6a2e9c4b
commit
1890e3b0e7
1 changed files with 1 additions and 2 deletions
|
@ -1098,8 +1098,7 @@ void screen_install_colormap(ObClient *client, gboolean install)
|
|||
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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue