Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Update MainWindow.xaml.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
I5UCC committed Jan 22, 2023
1 parent 8f89f39 commit 13975fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using IniParser;
using IniParser.Model;
using Valve.VR;
using NHotkey;
using NHotkey.Wpf; // hotkey window focusing feature. thanks to 753 ( https://753.network/ ) for sharing this trick :)
using System.IO;

Expand Down Expand Up @@ -63,7 +64,7 @@ public MainWindow()

// hotkey window focusing feature.
// Make Windows focus on this application when a hotkey is pressed
private void FocusHotkey(object sender, EventArgs e)
private void FocusHotkey(object? sender, HotkeyEventArgs e)
{
Activate();
Focus();
Expand Down

0 comments on commit 13975fb

Please sign in to comment.