Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
|
532f4a38d6 |
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
using SafeExamBrowser.Logging.Contracts;
|
using SafeExamBrowser.Logging.Contracts;
|
||||||
|
@ -68,7 +69,7 @@ namespace SafeExamBrowser.Monitoring.Display
|
||||||
private void SystemEvents_DisplaySettingsChanged(object sender, EventArgs e)
|
private void SystemEvents_DisplaySettingsChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
logger.Info("Display change detected!");
|
logger.Info("Display change detected!");
|
||||||
DisplayChanged?.Invoke();
|
Task.Run(() => DisplayChanged?.Invoke());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void InitializeWorkingArea(int taskbarHeight)
|
private void InitializeWorkingArea(int taskbarHeight)
|
||||||
|
|
Loading…
Reference in a new issue