Restore placeholder windows after restarting (Thanks Airblader).
fixes #1502
This commit is contained in:
@ -180,7 +180,9 @@ static void update_placeholder_contents(placeholder_state *state) {
|
||||
|
||||
static void open_placeholder_window(Con *con) {
|
||||
if (con_is_leaf(con) &&
|
||||
(con->window == NULL || con->window->id == XCB_NONE)) {
|
||||
(con->window == NULL || con->window->id == XCB_NONE) &&
|
||||
!TAILQ_EMPTY(&(con->swallow_head)) &&
|
||||
con->type == CT_CON) {
|
||||
xcb_window_t placeholder = create_window(
|
||||
restore_conn,
|
||||
con->rect,
|
||||
|
Reference in New Issue
Block a user