summaryrefslogtreecommitdiff
path: root/src/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manage.c')
-rw-r--r--src/manage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/manage.c b/src/manage.c
index cda4dde..6d15e05 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -196,6 +196,8 @@ manage (rp_window *win, screen_info *s)
win->state = STATE_MAPPED;
win->number = get_unique_window_number ();
+ sort_window_list_by_number();
+
PRINT_DEBUG ("window '%s' managed.\n", win->name);
}