From 2ebaa0fb5fa5834f5bf90e155c699aff534bc14f Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Sun, 1 Jan 2017 15:36:42 +0100 Subject: [PATCH] fix(i3): Put below root when restacking window Refs #293 --- src/utils/i3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/i3.cpp b/src/utils/i3.cpp index b76ca3c0..29177a1d 100644 --- a/src/utils/i3.cpp +++ b/src/utils/i3.cpp @@ -63,7 +63,7 @@ namespace i3_util { bool restack_above_root(connection& conn, const monitor_t& mon, const xcb_window_t win) { for (auto&& root : root_windows(conn, mon->name)) { const uint32_t value_mask = XCB_CONFIG_WINDOW_SIBLING | XCB_CONFIG_WINDOW_STACK_MODE; - const uint32_t value_list[2]{root, XCB_STACK_MODE_ABOVE}; + const uint32_t value_list[2]{root, XCB_STACK_MODE_BELOW}; conn.configure_window_checked(win, value_mask, value_list); return true; }