After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 133895 - Cursor warps to edge of workspace.
Cursor warps to edge of workspace.
Status: RESOLVED FIXED
Product: Sawfish
Classification: Deprecated
Component: Window Manager
pre-1.3.x
Other Linux
: Normal normal
: 1.5.x
Assigned To: John Harper
sawfish QA Team
Depends on:
Blocks:
 
 
Reported: 2004-02-09 15:22 UTC by Matt Hodges
Modified: 2009-08-16 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to treat frame offsets as signed (637 bytes, patch)
2005-03-02 13:00 UTC, Tom Hughes
none Details | Review

Description Matt Hodges 2004-02-09 15:22:47 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?)
Comment 1 Tom Hughes 2005-03-02 13:00:16 UTC
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.
Comment 2 Christopher Roy Bratusek 2008-05-25 06:56:39 UTC
I've tested that on v1.3.3 and that does not happen anymore.