fix memory leak when swallowing windows

This commit is contained in:
Michael Stapelberg
2016-01-09 16:47:48 +01:00
parent 8d917497c2
commit f511cc61c1
4 changed files with 23 additions and 5 deletions

View File

@ -9,6 +9,12 @@
*/
#pragma once
/**
* Frees an i3Window and all its members.
*
*/
void window_free(i3Window *win);
/**
* Updates the WM_CLASS (consisting of the class and instance) for the
* given window.