summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Operations.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Operations.hs b/Operations.hs
index 770ea7d..9d20841 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -88,7 +88,7 @@ swapMaster = windows W.swapMaster
-- | shift. Move a window to a new workspace, 0 indexed.
shift :: WorkspaceId -> X ()
-shift n = windows (W.shift n)
+shift = windows . W.shift
-- | view. Change the current workspace to workspace at offset n (0 indexed).
view :: WorkspaceId -> X ()