Merge pull request #4147 from compguy284/kick_tray_clients
kick tray clients before destroying the bar
This commit is contained in:
commit
e674073027
@ -1613,6 +1613,8 @@ void destroy_window(i3_output *output) {
|
||||
return;
|
||||
}
|
||||
|
||||
kick_tray_clients(output);
|
||||
|
||||
draw_util_surface_free(xcb_connection, &(output->bar));
|
||||
draw_util_surface_free(xcb_connection, &(output->buffer));
|
||||
draw_util_surface_free(xcb_connection, &(output->statusline_buffer));
|
||||
@ -1620,8 +1622,6 @@ void destroy_window(i3_output *output) {
|
||||
xcb_free_pixmap(xcb_connection, output->buffer.id);
|
||||
xcb_free_pixmap(xcb_connection, output->statusline_buffer.id);
|
||||
output->bar.id = XCB_NONE;
|
||||
|
||||
kick_tray_clients(output);
|
||||
}
|
||||
|
||||
/* Strut partial tells i3 where to reserve space for i3bar. This is determined
|
||||
|
Loading…
Reference in New Issue
Block a user