From 8fdb6e49c387e729cc2ea7bb0ce55a3a53c36cd2 Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Fri, 22 Mar 2013 16:44:03 +0800 Subject: 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. --- compton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compton.c') diff --git a/compton.c b/compton.c index 811bbf17e..f37746aa1 100644 --- a/compton.c +++ b/compton.c @@ -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; -- cgit v1.2.1