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
Merge pull request 'Ensure that desktop windows stays behind other wi…
…ndows' (#4) from alessandro/i3:desktop_window_patch into desktop_window_patch

Reviewed-on: https://git.tdem.in/tdemin/i3/pulls/4
  • Loading branch information
Timur Demin committed Apr 30, 2021
2 parents 237a876 + ad93b84 commit 5bc893a
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 5bc893a

Please sign in to comment.