title: Xmonad - How do I move mouse pointer as part of ManageHook?
body: <p>Given this sample <code>myManageHook</code>. How can I call <a href="https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/XMonad-Actions-UpdatePointer.html" rel="nofollow noreferrer">UpdatePointer</a> after <code>doIgnore</code>? All my tries resulted in type incompatibilities.</p>
  
  <pre><code>myManageHook = composeAll . concat $
      [
        -- IntelliJ idea Tweaks
        -- Manage idea completion window
        , [ appName =? "sun-awt-X11-XWindowPeer" &lt;&amp;&amp;&gt; className =? "jetbrains-idea" --&gt; doIgnore ]
        , [ (className ~=? "jetbrains-") &lt;&amp;&amp;&gt; (title ~=? "Changes in") --&gt;  unfloat ]
      ]
      where
        unfloat = ask &gt;&gt;= doF . W.sink
  </code></pre>
  
  <p>My problem is that IntelliJ Idea popup window loses focus during typing if my mouse pointer is located over suggestions dropbox. That's why I'm trying to move the mouse to an upper part of the screen when this window appears.</p>
  
  <p><a href="https://i.stack.imgur.com/vjzfn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vjzfn.png" alt="enter image description here"></a></p>
  
  <p><strong>UPD</strong> Found related thread with workarounds for Idea <a href="https://youtrack.jetbrains.com/issue/IDEA-112015#comment=27-2362253" rel="nofollow noreferrer">https://youtrack.jetbrains.com/issue/IDEA-112015#comment=27-2362253</a></p>