~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add some spare SetForegroundWindow and SetActiveWindow calls to try
[sgt/putty]
/
window.c
diff --git
a/window.c
b/window.c
index
9948763
..
546a917
100644
(file)
--- a/
window.c
+++ b/
window.c
@@
-574,6
+574,7
@@
int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
* Finally show the window!
*/
ShowWindow(hwnd, show);
+ SetForegroundWindow(hwnd);
/*
* Open the initial log file if there is one.