mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 05:43:40 +01:00
Add more escape-button logging
This commit is contained in:
parent
1714c641ad
commit
ad144cf7f4
3 changed files with 15 additions and 1 deletions
|
|
@ -31,7 +31,12 @@ namespace Dalamud.Interface.Windowing
|
|||
/// Gets a value indicating whether any <see cref="WindowSystem"/> contains any <see cref="Window"/>
|
||||
/// that has focus and is not marked to be excluded from consideration.
|
||||
/// </summary>
|
||||
public static bool HasAnyWindowSystemFocus { get; internal set; }
|
||||
public static bool HasAnyWindowSystemFocus { get; internal set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name of the currently focused window system that is redirecting normal escape functionality.
|
||||
/// </summary>
|
||||
public static string FocusedWindowSystemNamespace { get; internal set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the timespan since the last time any window was focused.
|
||||
|
|
@ -109,6 +114,8 @@ namespace Dalamud.Interface.Windowing
|
|||
}
|
||||
|
||||
HasAnyWindowSystemFocus = true;
|
||||
FocusedWindowSystemNamespace = this.Namespace;
|
||||
|
||||
lastAnyFocus = DateTimeOffset.Now;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue