Fix mouse press being ignored on x11

This commit is contained in:
Anskrevy 2024-02-04 19:42:54 -08:00 committed by Jari Vetoniemi
parent 6c531b4d2a
commit a3f19bab9b

View File

@ -281,7 +281,7 @@ bm_x11_window_create(struct window *window, Display *display)
XSetWindowAttributes wa = {
.override_redirect = True,
.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask
.event_mask = ExposureMask | KeyPressMask | VisibilityChangeMask | ButtonPressMask
};
XVisualInfo vinfo;