GNOME Bugzilla – Bug 133895
Cursor warps to edge of workspace.
Last modified: 2009-08-16 15:13:28 UTC
[Debian package/Version: 1:1.3+cvs20031104-4] I tried (setq warp-to-window-enabled t), and when the cursor warps, it ends up at the very top left point of the workspace (I'm not using viewports). I had a look at the code, and the problem seems to be with window-frame-offset values: user> (mapcar (lambda (w) (window-frame-offset w)) (managed-windows)) ((0 . 0) (1073741823 . 1073741806) (1073741823 . 1073741806) (1073741823 . 1073741806) (1073741823 . 1073741806) (1073741823 . 1073741806) (0 . 0) (1073741823 . 1073741806) (1073741823 . 1073741806) (1073741823 . 1073741806) (1073741823 . 1073741806) (1073741823 . 1073741806) (1073741823 . 1073741806) (0 . 0) (1073741823 . 1073741806) (1073741823 . 1073741806) (1073741823 . 1073741806) (1073741823 . 1073741806)) The values returned by window-position and window-dimensions are OK. Note that I don't see this problem on i386. (Related to Bug 105223?)
Created attachment 38147 [details] [review] Patch to treat frame offsets as signed The problem is that sawfish is treating the frame offsets as unsigned but they now seem to be signed. This patch corrects that.
I've tested that on v1.3.3 and that does not happen anymore.