From e3584c77dc2ff8ac683fbbe3a849600022e46800 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 7 Feb 2023 03:32:15 +0100 Subject: lib: Text -> String Because everything in Graphics.X11 is String, too. --- src/main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.hs b/src/main.hs index 2c500c7..41c6eec 100644 --- a/src/main.hs +++ b/src/main.hs @@ -68,7 +68,7 @@ getWorkspaces display screenGeometry focusWindows = do return Workspace { workspace_geometry = screenGeometry , workspace_focused = currentDesktop == index - , workspace_name = name + , workspace_name = Text.pack name , workspace_windows = [] } return $ Map.fromList $ zip [0..] ws @@ -90,7 +90,7 @@ getWorkspaces display screenGeometry focusWindows = do window = Window { window_id = fromIntegral w - , window_title = fromMaybe "" title + , window_title = Text.pack $ fromMaybe "" title , window_geometry = geometry , window_focused = Set.member w focusWindows , window_urgent = urgent -- cgit v1.2.3