diff --git a/VERSION b/VERSION index e68d2606..aa0e41b2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-87-g788f885759+1 \ No newline at end of file +B1-88-g5d4e9b1ead+1 \ No newline at end of file diff --git a/client/src/main.c b/client/src/main.c index 414e642a..e97bce0f 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1328,6 +1328,9 @@ static int lg_run() { if (state.wminfo.subsystem == SDL_SYSWM_X11) { + // enable X11 events to work around SDL2 bugs + SDL_EventState(SDL_SYSWMEVENT, SDL_ENABLE); + Atom NETWM_BYPASS_COMPOSITOR = XInternAtom( state.wminfo.info.x11.display, "NETWM_BYPASS_COMPOSITOR",