summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2013-03-22 16:44:03 +0800
committerRichard Grenville <pyxlcy@gmail.com>2013-03-22 16:44:03 +0800
commit8fdb6e49c387e729cc2ea7bb0ce55a3a53c36cd2 (patch)
treecacdbd5847478ba7a8eebc5b023f51353c989e75
parent2dfe9d52ed6d83fd0f2cc6cc0d921701dcb8b017 (diff)
downloadtdebase-8fdb6e49.tar.gz
tdebase-8fdb6e49.zip
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.
-rw-r--r--compton.c2
1 files changed, 1 insertions, 1 deletions
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;