Issue 449 in xmonad: Off-by-2*wa_border_width error in XMonad.Actions.UpdatePointer

Status: New Owner: ---- New issue 449 by beneficial.terminator: Off-by-2*wa_border_width error in XMonad.Actions.UpdatePointer http://code.google.com/p/xmonad/issues/detail?id=449 What steps will reproduce the problem? 1. Enable XMonad.Actions.UpdatePointer 2. Set borderWidth to 100 (or some other large number) in xmonad config 3. Move the mouse pointer to the right of or below a window, then switch focus to that window What is the expected output? What do you see instead? The pointer should move to the edge or center of the newly focused window. Instead it moves as if the focused window is 200 pixels narrower on the right and 200 pixels shorter at the bottom. In XMonad.Actions.UpdatePointer.windowAttributesToRectangle, because of the way WindowAttributes is calculated, the dimension wa_width wa should be 2 * wa_border_width wa + wa_width wa and analogously the dimension wa_height wa should be 2 * wa_border_width wa + wa_height wa . Please use labels and text to provide additional information. If this error is due to a module from XMonadContrib, please tag this issue with 'Component-Contrib' below.

Comment #1 on issue 449 by beneficial.terminator: Off-by-2*wa_border_width error in XMonad.Actions.UpdatePointer http://code.google.com/p/xmonad/issues/detail?id=449 Component-Contrib

Comment #2 on issue 449 by liskni...@gmail.com: Off-by-2*wa_border_width
error in XMonad.Actions.UpdatePointer
http://code.google.com/p/xmonad/issues/detail?id=449
This was fixed by this patch a long time ago:
Mon Oct 26 16:49:18 CET 2009 Tomas Janousek

Updates: Status: Fixed Labels: Component-Contrib Comment #3 on issue 449 by wirtwo...@gmail.com: Off-by-2*wa_border_width error in XMonad.Actions.UpdatePointer http://code.google.com/p/xmonad/issues/detail?id=449 Closing as fixed in xmonad-0.9.1 or greater.
participants (1)
-
codesite-noreply@google.com