fixed comment into code
This commit is contained in:
@@ -3,8 +3,8 @@ using System.Runtime.InteropServices;
|
||||
namespace CursorLang.Interop;
|
||||
|
||||
/// <summary>
|
||||
/// Сведения о вводе в активном приложении: какое окно держит фокус клавиатуры
|
||||
/// и где находится каретка.
|
||||
/// Input details of the active application: which window holds keyboard focus
|
||||
/// and where the caret is.
|
||||
/// </summary>
|
||||
internal static class ForegroundInputNative
|
||||
{
|
||||
@@ -26,12 +26,12 @@ internal static class ForegroundInputNative
|
||||
private static extern bool GetGUIThreadInfo(uint idThread, ref GuiThreadInfo lpgui);
|
||||
|
||||
/// <summary>
|
||||
/// Состояние ввода потока переднего плана.
|
||||
/// The input state of the foreground thread.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Нулевой идентификатор потока не случаен: у современных приложений окно
|
||||
/// верхнего уровня и окно ввода живут в разных потоках, и спрашивать нужно
|
||||
/// именно про передний план целиком.
|
||||
/// The zero thread identifier is not accidental: in modern applications the
|
||||
/// top-level window and the input window live in different threads, and the
|
||||
/// question has to be about the foreground as a whole.
|
||||
/// </remarks>
|
||||
internal static bool TryGetInfo(out GuiThreadInfo info)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user