diff --git a/VERSION b/VERSION index 5d8da8bb..d4e46533 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-46-g074af5d16c+1 \ No newline at end of file +B1-47-g4345d94d68+1 \ No newline at end of file diff --git a/client/src/main.c b/client/src/main.c index c943318a..27546984 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -617,7 +617,8 @@ int eventFilter(void * userdata, SDL_Event * event) break; case SDL_WINDOWEVENT_SIZE_CHANGED: - SDL_GetWindowSize(state.window, &state.windowW, &state.windowH); + state.windowW = event->window.data1; + state.windowH = event->window.data2; updatePositionInfo(); realignGuest = true; break;