Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X.A.UpdatePointer and X.L.DraggingVisulizer don't work with each other #604

Open
3 tasks done
ixzh opened this issue Sep 19, 2021 · 0 comments
Open
3 tasks done

X.A.UpdatePointer and X.L.DraggingVisulizer don't work with each other #604

ixzh opened this issue Sep 19, 2021 · 0 comments

Comments

@ixzh
Copy link

ixzh commented Sep 19, 2021

Problem Description

With updatePointer hook, the dragging seems not to work, causing windows not switching

Steps to Reproduce

  1. Press Mod key and mouse left-click-and-hold to drag a window onto another and release mouse, the pointer is instantly updated to the original center of the dragged window, causing the two windows not swapping as intended.

Configuration File

import XMonad.Actions.UpdatePointer
import XMonad.Actions.EasyMotion
import XMonad.Layout.DraggingVisualizer
import qualified Data.Map as M

myMouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $ [
    ((modMask, button1), dragWindow)
]

myLayout = draggingVisualizer $ tall

main :: IO ()
main = xmonad def {
logHook=updatePointer (0.5, 0.5) (0, 0)
, mouseBindings = myMouseBindings
}

Checklist

  • I've read CONTRIBUTING.md

  • I tested my configuration

    • With xmonad version 0.16.999 (commit 33a86c0 )
    • With xmonad-contrib version 0.16.999 (commit 0c6fdf4)
@ixzh ixzh changed the title X.L.UpdatePointer X.A.UpdatePointer and X.L.DraggingVisulizer don't work properly Sep 19, 2021
@ixzh ixzh changed the title X.A.UpdatePointer and X.L.DraggingVisulizer don't work properly X.A.UpdatePointer and X.L.DraggingVisulizer don't work with each other Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant