aboutsummaryrefslogtreecommitdiff
path: root/src/Rahm/Desktop/Common.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2025-03-06 15:27:01 -0700
committerJosh Rahm <rahm@google.com>2025-03-06 15:27:01 -0700
commit61e8ccf2eab183587605cce4c5126258571b5294 (patch)
treebf793e89bf4aa44d1459bd3db3dbf4a216c3675b /src/Rahm/Desktop/Common.hs
parent1f66fa91b479946e9b4d172d88bbd5aa15676423 (diff)
downloadrde-61e8ccf2eab183587605cce4c5126258571b5294.tar.gz
rde-61e8ccf2eab183587605cce4c5126258571b5294.tar.bz2
rde-61e8ccf2eab183587605cce4c5126258571b5294.zip
Rebrand WorkspaceSelect to "WorkspaceWheel"
Made the selector a wheel instead of a row. Added some keybindings and button bindings.
Diffstat (limited to 'src/Rahm/Desktop/Common.hs')
-rw-r--r--src/Rahm/Desktop/Common.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Rahm/Desktop/Common.hs b/src/Rahm/Desktop/Common.hs
index 713a1d6..6ca3513 100644
--- a/src/Rahm/Desktop/Common.hs
+++ b/src/Rahm/Desktop/Common.hs
@@ -166,6 +166,9 @@ runMaybeT_ = void . runMaybeT
click :: X ()
click = do
+ ws <- pointerWorkspace
+ mapM_ (windows . S.view) ws
+
(dpy, root) <- asks $ (,) <$> display <*> X.theRoot
(_, _, window, _, _, _, _, _) <- io $ X.queryPointer dpy root
focus window