]> git.sur5r.net Git - i3/i3/blobdiff - include/restore_layout.h
kill placeholder windows when the actual window appears
[i3/i3] / include / restore_layout.h
index a039f92f72a454527662ff44b32e7e851c3a44db..75617410dd608842263b7cc3a73f2bc2f5d6396d 100644 (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