Skip to content

Commit

Permalink
Merge pull request #410 from Magicloud/master
Browse files Browse the repository at this point in the history
Bugfix: Expire time in millisecond is wrongly taken as second.
  • Loading branch information
colonelpanic8 committed Aug 14, 2018
2 parents 32a192f + 01a531b commit 09c600c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System/Taffybar/Widget/FreedesktopNotifications.hs
Expand Up @@ -194,7 +194,7 @@ startTimeoutThread :: NotifyState -> Notification -> IO ()
startTimeoutThread s Notification {..} = case noteExpireTimeout of
Nothing -> return ()
Just timeout -> void $ forkIO $ do
threadDelay (fromIntegral timeout * 10^(6 :: Int))
threadDelay (fromIntegral timeout * 10^(3 :: Int))
notePurge s noteId
wakeupDisplayThread s

Expand Down

0 comments on commit 09c600c

Please sign in to comment.