mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
allow early password dialog access to the mouse. probably bug 93715, certainly bug 110098. a:don
This commit is contained in:
parent
88ec8b622b
commit
b9f2000cc6
@ -33,16 +33,12 @@ char *sux_PromptPassword(MWContext *pContext, const char *pMessage) {
|
||||
|
||||
char *pWinMessage = FE_Windowsify(pMessage);
|
||||
if(pWinMessage) {
|
||||
CWnd desktop;
|
||||
desktop.Attach(::GetDesktopWindow());
|
||||
CDialogPASS dlgPass(&desktop);
|
||||
CDialogPASS dlgPass;
|
||||
theApp.m_splash.SafeHide();
|
||||
|
||||
pRetval = dlgPass.DoModal(pWinMessage);
|
||||
|
||||
XP_FREE(pWinMessage);
|
||||
pWinMessage = NULL;
|
||||
desktop.Detach();
|
||||
}
|
||||
|
||||
return(pRetval);
|
||||
|
Loading…
Reference in New Issue
Block a user