tDo not kill child windows when program exits - glazier - window management experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit e105ac725da9a5baed893b1f6aace6b57229e21e
(DIR) parent 207e5984f91c7bc971ad7b303d2fd236427226db
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Wed, 23 Oct 2019 08:38:16 +0200
Do not kill child windows when program exits
Diffstat:
M glazier.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/glazier.c b/glazier.c
t@@ -121,6 +121,7 @@ frame_window(xcb_window_t child)
XCB_CW_BACK_PIXEL | XCB_CW_EVENT_MASK, val);
xcb_reparent_window(conn, child, parent, 0, titlebar);
+ xcb_change_save_set(conn, XCB_SET_MODE_INSERT, child);
xcb_map_window(conn, parent);
return parent;