X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=src%2Frandr.c;h=54d61dddbeaa28bd496b65ec907616ebeb52605d;hp=b1a9e8cb48b787c3daa6c010c4a7ce5f5e86fb4e;hb=ede954128afca118025db6a04d4d9d259473c70f;hpb=badcb152f920055336ba6f0b82906cbd58fb40cf diff --git a/src/randr.c b/src/randr.c index b1a9e8cb..54d61ddd 100644 --- a/src/randr.c +++ b/src/randr.c @@ -993,7 +993,7 @@ void randr_disable_output(Output *output) { if (current != next && TAILQ_EMPTY(&(current->focus_head))) { /* the workspace is empty and not focused, get rid of it */ DLOG("Getting rid of current = %p / %s (empty, unfocused)\n", current, current->name); - tree_close_internal(current, DONT_KILL_WINDOW, false, false); + tree_close_internal(current, DONT_KILL_WINDOW, false); continue; } DLOG("Detaching current = %p / %s\n", current, current->name); @@ -1039,7 +1039,7 @@ void randr_disable_output(Output *output) { Con *con = output->con; /* clear the pointer before calling tree_close_internal in which the memory is freed */ output->con = NULL; - tree_close_internal(con, DONT_KILL_WINDOW, true, false); + tree_close_internal(con, DONT_KILL_WINDOW, true); DLOG("Done. Should be fine now\n"); }