Updates
This commit is contained in:
parent
c4c7489fef
commit
b366db9cae
@ -5,6 +5,7 @@ using AutoRetainerAPI;
|
||||
using Dalamud.Plugin;
|
||||
using Dalamud.Plugin.Services;
|
||||
using ECommons;
|
||||
using FFXIVClientStructs.FFXIV.Client.System.Framework;
|
||||
using LLib;
|
||||
|
||||
namespace AutoShutdown;
|
||||
@ -58,7 +59,11 @@ public sealed class Plogon : IDalamudPlugin
|
||||
}
|
||||
|
||||
// move to background using alt+esc
|
||||
SendKeys.SendWait("%({esc})");
|
||||
unsafe
|
||||
{
|
||||
if (!Framework.Instance()->WindowInactive)
|
||||
SendKeys.SendWait("%({esc})");
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
Loading…
Reference in New Issue
Block a user