Bug fix: Incorrect handling when a window is placed on bottom
- Fix a bug that ConfigureNotify placing a window in bottom
(ConfigureNotify with .new_above == 0) is not correctly handled,
introduced in 1a88e3d0c5
.
This commit is contained in:
parent
4b734c1fa1
commit
65cda415dd
|
@ -2670,7 +2670,7 @@ restack_win(session_t *ps, win *w, Window new_above) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!found) {
|
if (new_above && !found) {
|
||||||
printf_errf("(%#010lx, %#010lx): "
|
printf_errf("(%#010lx, %#010lx): "
|
||||||
"Failed to found new above window.", w->id, new_above);
|
"Failed to found new above window.", w->id, new_above);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue