1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-16 12:10:31 +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:
Tin Švagelj 2024-04-10 17:35:30 +00:00 committed by GitHub
parent 439783be2c
commit e4213024e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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