diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-26 14:43:45 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-26 14:43:45 -0400 |
| commit | db80156eba98e851d4e9983261eb060bb60d615e (patch) | |
| tree | bd8a61758ed026a883175f8a4ee24c95c6761d45 /window_windows.c | |
| parent | acc8157bea65221220ae33b665781de86745b465 (diff) | |
Began migrating the Windows code away from using container entirely. This is going to be a mess for Tab... hopefully only a short-term one.
Diffstat (limited to 'window_windows.c')
| -rw-r--r-- | window_windows.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/window_windows.c b/window_windows.c index a4eefb3..8f618ab 100644 --- a/window_windows.c +++ b/window_windows.c @@ -28,7 +28,8 @@ static LRESULT CALLBACK windowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARA if (FillRect((HDC) wParam, &r, windowBackground) == 0) xpanic("error filling WM_PRINTCLIENT DC with window background color", GetLastError()); return lResult; - case WM_SIZE: + case WM_WINDOWPOSCHANGING: + case WM_WINDOWPOSCHANGED: if (GetClientRect(hwnd, &r) == 0) xpanic("error getting client rect for Window in WM_SIZE", GetLastError()); windowResize(data, &r); |
