All systems
Window Resize + Mouse
C++Client

Window Resize + Mouse

Client-only fix — clicks and drags stay accurate when the player resizes the game window.

WM_SIZE updates both SetScreenSize and SetResolution
SetMousePosition maps window pixels to UI coordinates
RunMouseMove attach clamp uses physical m_iHres/m_iVres
No UI scale combo — lightweight alternative to full GUI Scale
Smoke-test ready: windowed mode, drag border, click inventory

When players resize the Metin2 window in windowed mode, the backbuffer changes but UI code often still assumes the old size — or mouse input uses raw pixels while widgets use a different mapping. Clicks miss inventory slots, taskbar buttons, and dialog controls.

This pack fixes the two critical pieces: PythonApplicationProcedure reacts to WM_SIZE with matching SetScreenSize + SetResolution and triggers OnResolutionUpdate; PythonWindowManager corrects SetMousePosition ratios and drag clamping.

Pure client C++ — merge 1.Svn patches, rebuild EterPythonLib and UserInterface, done. If you later install GUI Scale, that bundle already includes these mouse/resize fixes plus logical UI zoom.