зеркало из https://github.com/mozilla/gecko-dev.git
Bug 330276 Drop support for pre-Win2k platforms (Win9x/Me/NT4). #2 patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r+sr=roc
This commit is contained in:
Родитель
54be0c0be3
Коммит
e0ac7bfaac
|
@ -328,7 +328,9 @@ void KeyboardLayout::LoadLayout ()
|
|||
|
||||
ReleaseDeadKeyTables ();
|
||||
|
||||
#ifndef DEBUG
|
||||
PRBool keyboardInputAlreadyBlocked = !::BlockInput (PR_TRUE);
|
||||
#endif
|
||||
|
||||
// For each shift state gather all printable characters that are produced
|
||||
// for normal case when no any dead-key is active.
|
||||
|
@ -403,9 +405,11 @@ void KeyboardLayout::LoadLayout ()
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef DEBUG
|
||||
if (!keyboardInputAlreadyBlocked)
|
||||
::BlockInput (PR_FALSE);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче