Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Ensure that desktop windows stays behind other windows
  • Loading branch information
Alessandro Grassi committed Mar 21, 2021
1 parent 237a876 commit ad93b84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/manage.c
Expand Up @@ -242,6 +242,8 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
xcb_map_window(conn, window);
values[0] = XCB_EVENT_MASK_ENTER_WINDOW;
xcb_change_window_attributes(conn, window, XCB_CW_EVENT_MASK, values);
values[0] = XCB_STACK_MODE_BELOW;
xcb_configure_window (conn, window, XCB_CONFIG_WINDOW_STACK_MODE, values);
xcb_flush(conn);
goto geom_out;
}
Expand Down

0 comments on commit ad93b84

Please sign in to comment.