diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-08 20:37:32 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-08 20:37:32 -0400 |
| commit | 87bb7328324a626d6278eaa204206311f717c7fb (patch) | |
| tree | d95481271a3fbdd880b83c4e42256057991b6335 | |
| parent | 47723aa8d9605a09ee119dfc14fda4148413cc20 (diff) | |
Fixed flicker and minimize issues on Windows. Simple mistake; should have used WM_WINDOWPOSCHANGED instead of WM_WINDOWPOSCHANGING. Startup looks wrong; will fix that next.
| -rw-r--r-- | new/window_windows.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/new/window_windows.c b/new/window_windows.c index 73dd1c8..881173d 100644 --- a/new/window_windows.c +++ b/new/window_windows.c @@ -1,9 +1,6 @@ // 6 april 2015 #include "uipriv_windows.h" -// TODO -// - [18:19] <ZeroOne> Though, if you minimise it and bring it back up, the buttons disappear until you resize the window. Not sure if you care about that or not. - struct uiWindow { HWND hwnd; uiControl *child; @@ -32,7 +29,7 @@ static LRESULT CALLBACK uiWindowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA if (sharedWndProc(hwnd, uMsg, wParam, lParam, &lResult) != FALSE) return lResult; switch (uMsg) { - case WM_WINDOWPOSCHANGING: + case WM_WINDOWPOSCHANGED: if (w->child == NULL) break; if ((wp->flags & SWP_NOSIZE) != 0) |
