From b0df67200906d34ec4cfd9a5312b87c87f980886 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 30 Mar 2024 16:00:54 +0100 Subject: [PATCH] Fix deprecated 'dynamicPropertyChange' --- .xmonad/xmonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index c5d663d..b1533f1 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -4,7 +4,7 @@ import XMonad import XMonad.Actions.CopyWindow (copyToAll, killAllOtherCopies) import XMonad.Actions.FloatSnap import Control.Monad (liftM2) -import XMonad.Hooks.DynamicProperty +import XMonad.Hooks.OnPropertyChange (onXPropertyChange) import XMonad.Hooks.EwmhDesktops import XMonad.Hooks.ManageDocks import XMonad.Hooks.ManageHelpers @@ -158,7 +158,7 @@ myConfig = startupHook = myStartupHook, manageHook = myManageHook <+> manageHook def, layoutHook = avoidStruts myLayoutHook, - handleEventHook = dynamicPropertyChange "WM_NAME" myDynamicManageHook <> handleEventHook def <> Hacks.windowedFullscreenFixEventHook + handleEventHook = onXPropertyChange "WM_NAME" myDynamicManageHook <> handleEventHook def <> Hacks.windowedFullscreenFixEventHook } `removeKeysP` myRemoveKeys `additionalKeysP` myKeys