kill placeholder windows when the actual window appears

This commit is contained in:
Michael Stapelberg
2013-12-15 15:00:26 +01:00
parent 28a993e656
commit 42e359ec60
3 changed files with 40 additions and 0 deletions

View File

@ -29,4 +29,13 @@ void restore_connect(void);
*/
void restore_open_placeholder_windows(Con *con);
/**
* Kill the placeholder window, if placeholder refers to a placeholder window.
* This function is called when manage.c puts a window into an existing
* container. In order not to leak resources, we need to destroy the window and
* all associated X11 objects (pixmap/gc).
*
*/
bool restore_kill_placeholder(xcb_window_t placeholder);
#endif