mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Enable save-under for the presel feedback window
This commit is contained in:
parent
aaf44a6fae
commit
a9649b7ea7
1 changed files with 3 additions and 1 deletions
4
window.c
4
window.c
|
@ -233,8 +233,10 @@ void initialize_presel_feedback(node_t *n)
|
|||
}
|
||||
|
||||
xcb_window_t win = xcb_generate_id(dpy);
|
||||
uint32_t mask = XCB_CW_BACK_PIXEL | XCB_CW_SAVE_UNDER;
|
||||
uint32_t values[] = {get_color_pixel(presel_feedback_color), 1};
|
||||
xcb_create_window(dpy, XCB_COPY_FROM_PARENT, win, root, 0, 0, 1, 1, 0, XCB_WINDOW_CLASS_INPUT_OUTPUT,
|
||||
XCB_COPY_FROM_PARENT, XCB_CW_BACK_PIXEL, (uint32_t []) {get_color_pixel(presel_feedback_color)});
|
||||
XCB_COPY_FROM_PARENT, mask, values);
|
||||
|
||||
xcb_icccm_set_wm_class(dpy, win, sizeof(PRESEL_FEEDBACK_IC), PRESEL_FEEDBACK_IC);
|
||||
stacking_list_t *s = stack_tail;
|
||||
|
|
Loading…
Add table
Reference in a new issue