summaryrefslogtreecommitdiff
path: root/justtabs/win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'justtabs/win.cpp')
-rw-r--r--justtabs/win.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/justtabs/win.cpp b/justtabs/win.cpp
index b85cd9c..5f65625 100644
--- a/justtabs/win.cpp
+++ b/justtabs/win.cpp
@@ -362,6 +362,7 @@ BOOL CALLBACK FrameProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
SendMessage(tab_ctrl, TCM_SETITEM, (WPARAM)t, (LPARAM)&tie);
}
SendMessage(hwnd, WMU_CALCWINICON, 0, 0);
+ SetForegroundWindow(hwnd);
}
}
return TRUE;