summaryrefslogtreecommitdiff
path: root/tab_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-30 08:48:36 -0400
committerPietro Gagliardi <[email protected]>2014-10-30 08:48:36 -0400
commitcedb545e5cd14b8900a28918a04055d145e20d28 (patch)
treeac726d8b69e2e662a56463222e1558653a6958db /tab_windows.c
parent1e7fcd818c7436397027600ec7849d3df17c5533 (diff)
Okay, REALLY fixed the redraw issues now. A few wacky drawing issues remain, but... not THIS.
Diffstat (limited to 'tab_windows.c')
-rw-r--r--tab_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tab_windows.c b/tab_windows.c
index 07935ff..d473999 100644
--- a/tab_windows.c
+++ b/tab_windows.c
@@ -31,7 +31,7 @@ static LRESULT CALLBACK tabSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam);
case msgTabCurrentTabHasChildren:
return (LRESULT) tabTabHasChildren((void *) data, SendMessageW(hwnd, TCM_GETCURSEL, 0, 0));
- case WM_WINDOWPOSCHANGING:
+ // don't do this on WM_WINDOWPOSCHANGING; weird redraw issues will happen
case WM_WINDOWPOSCHANGED:
wp = (WINDOWPOS *) lParam;
resizeRect.left = wp->x;