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.
pull/2/head
Richard Grenville 11 years ago
parent 2dfe9d52ed
commit 8fdb6e49c3

@ -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;

Loading…
Cancel
Save