fix(i3): Put below root when restacking window

Refs #293
This commit is contained in:
Michael Carlberg 2017-01-01 15:36:42 +01:00
parent 9c191cb025
commit 2ebaa0fb5f
1 changed files with 1 additions and 1 deletions

View File

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