mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 10:11:43 -05:00
Propagate FFP_MASK
This commit is contained in:
parent
a1d07d6811
commit
36decdad62
2 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ void restore_tree(char *file_path)
|
|||
for (monitor_t *m = mon_head; m != NULL; m = m->next)
|
||||
for (desktop_t *d = m->desk_head; d != NULL; d = d->next)
|
||||
for (node_t *n = first_extrema(d->root); n != NULL; n = next_leaf(n, d->root)) {
|
||||
uint32_t values[] = {CLIENT_EVENT_MASK | (focus_follows_pointer ? XCB_EVENT_MASK_ENTER_WINDOW : 0)};
|
||||
uint32_t values[] = {CLIENT_EVENT_MASK | (focus_follows_pointer ? FFP_MASK : 0)};
|
||||
xcb_change_window_attributes(dpy, n->client->window, XCB_CW_EVENT_MASK, values);
|
||||
if (n->client->floating) {
|
||||
n->vacant = true;
|
||||
|
|
2
window.c
2
window.c
|
@ -171,7 +171,7 @@ void manage_window(xcb_window_t win, rule_consequence_t *csq, int fd)
|
|||
else
|
||||
stack(n, STACK_ABOVE);
|
||||
|
||||
uint32_t values[] = {CLIENT_EVENT_MASK | (focus_follows_pointer ? XCB_EVENT_MASK_ENTER_WINDOW : 0)};
|
||||
uint32_t values[] = {CLIENT_EVENT_MASK | (focus_follows_pointer ? FFP_MASK : 0)};
|
||||
xcb_change_window_attributes(dpy, c->window, XCB_CW_EVENT_MASK, values);
|
||||
|
||||
if (visible) {
|
||||
|
|
Loading…
Add table
Reference in a new issue