diff --git a/VERSION b/VERSION index 56402ed6..05305d61 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-162-gb953b2b807+1 \ No newline at end of file +B1-163-g577c54d20d+1 \ No newline at end of file diff --git a/client/src/main.c b/client/src/main.c index 94b09bae..bf0d7b59 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -860,10 +860,16 @@ int eventFilter(void * userdata, SDL_Event * event) break; case EnterNotify: + state.curLocalX = xe.xcrossing.x; + state.curLocalY = xe.xcrossing.y; + state.haveCurLocal = true; handleWindowEnter(); break; case LeaveNotify: + state.curLocalX = xe.xcrossing.x; + state.curLocalY = xe.xcrossing.y; + state.haveCurLocal = true; handleWindowLeave(); break; }