all repos — tint2 @ 7dad1c4e33ccaa90eb7c8c7ec3dda0ff1055f1b9

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Freespace: release memory in correct order
o9000 mrovi9000@gmail.com
commit

7dad1c4e33ccaa90eb7c8c7ec3dda0ff1055f1b9

parent

f8ceb5a84908a362b287d2464a0bb53cc0927ef5

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

jump to
M src/panel.csrc/panel.c

@@ -131,8 +131,6 @@

for (int i = 0; i < num_panels; i++) { Panel *p = &panels[i]; - cleanup_freespace(p); - free_area(&p->area); if (p->temp_pmap) XFreePixmap(server.display, p->temp_pmap);

@@ -144,6 +142,7 @@ if (p->main_win)

XDestroyWindow(server.display, p->main_win); p->main_win = 0; stop_timeout(p->autohide_timeout); + cleanup_freespace(p); } free(panel_items_order);