i3-config-wizard: use a managed, floating (dialog) window. fixes focus problems

Probably only when another window is already opened, but people can do that
(start i3 from within a terminal in their X session)
This commit is contained in:
Michael Stapelberg
2011-07-27 13:28:32 +02:00
parent 2a43a49595
commit ec88f6501d
5 changed files with 85 additions and 38 deletions

View File

@ -109,11 +109,8 @@ xcb_window_t open_input_window(xcb_connection_t *conn, uint32_t width, uint32_t
mask |= XCB_CW_BACK_PIXEL;
values[0] = 0;
mask |= XCB_CW_OVERRIDE_REDIRECT;
values[1] = 1;
mask |= XCB_CW_EVENT_MASK;
values[2] = XCB_EVENT_MASK_EXPOSURE;
values[1] = XCB_EVENT_MASK_EXPOSURE;
xcb_create_window(conn,
XCB_COPY_FROM_PARENT,