mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-16 04:02:15 +00:00
Set propagate to True, to not propagate by default (#1809)
XSendEvent propagate bool argument is actually "don't force propagation", so True value means the event will only get propagated if it's not handled, and False means the event will _always_ get propagated. Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
This commit is contained in:
parent
439783be2c
commit
e4213024e4
@ -1410,7 +1410,7 @@ void propagate_x11_event(XEvent &ev) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
XUngrabPointer(display, CurrentTime);
|
XUngrabPointer(display, CurrentTime);
|
||||||
XSendEvent(display, i_ev->common.window, False, ev_to_mask(i_ev->type), &ev);
|
XSendEvent(display, i_ev->common.window, True, ev_to_mask(i_ev->type), &ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @brief This function returns the last descendant of a window (leaf) on the
|
/// @brief This function returns the last descendant of a window (leaf) on the
|
||||||
|
Loading…
Reference in New Issue
Block a user