Skip to content

Commit d37e197

Browse files
committed
Revert "Fix conn sharing confirm window setup."
This reverts commit 2cf2b0c. No breakage is confirmed, and doing the same on Pageant.
1 parent 4a826af commit d37e197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: windows/sharing.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ int platform_ssh_share_ask(const char *name)
112112
{
113113
/* blocking UI */
114114
char *text = dupprintf("Permit sharing an existing SSH connection %s?", name);
115-
int id = MessageBox(NULL, text,
115+
int id = MessageBox(GetForegroundWindow(), text,
116116
"SSH connection sharing",
117117
MB_YESNO | MB_DEFBUTTON2 | MB_SETFOREGROUND | MB_TOPMOST | MB_SYSTEMMODAL);
118118
sfree(text);

0 commit comments

Comments
 (0)