From 0895586cf7393d43419df83f13938aadab762164 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Mon, 2 Jan 2023 19:50:44 -0500 Subject: [PATCH] FIX missed a spot --- lib/XMonad/Internal/Concurrent/ACPIEvent.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/XMonad/Internal/Concurrent/ACPIEvent.hs b/lib/XMonad/Internal/Concurrent/ACPIEvent.hs index 756dd33..a543ade 100644 --- a/lib/XMonad/Internal/Concurrent/ACPIEvent.hs +++ b/lib/XMonad/Internal/Concurrent/ACPIEvent.hs @@ -98,7 +98,7 @@ handleACPI fb lock tag = do LidClose -> do status <- io isDischarging -- only run suspend if battery exists and is discharging - forM_ status $ flip when runSuspend + forM_ status $ flip when $ liftIO runSuspend lock --------------------------------------------------------------------------------