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:
Richard Grenville 2013-03-22 16:44:03 +08:00
parent 4b734c1fa1
commit 65cda415dd
1 changed files with 1 additions and 1 deletions

View File

@ -2670,7 +2670,7 @@ restack_win(session_t *ps, win *w, Window new_above) {
}
}
if (!found) {
if (new_above && !found) {
printf_errf("(%#010lx, %#010lx): "
"Failed to found new above window.", w->id, new_above);
return;