[Bug: 21.4.22] set-frame-position and user-position
Stephen J. Turnbull
stephen at xemacs.org
Tue Feb 22 03:18:54 EST 2011
Yaoxin Song writes:
> I could not set frame position and make the frame *stay* at the new
> position. the frame jumped to a new position but jumped back right
> away. This only occured after the frame had been moved by mouse
> operation.
What is your window manager? Metacity (the default WM of GNOME) is
known to cause problems with XEmacs, due to different interpretations
of the ICCCM rules for window managers.
> But what is the correct way to reposition a frame (after it has
> been moved by a mouse)?
>
> The following is some of my commands:
> (set-frame-property (selected-frame) 'user-position t )
> (set-frame-position (selected-frame) 80 80)
> (frame-property (selected-frame) 'user-position)
It's not clear what you are doing or what results you want. Please be
more precise and detailed about
1. the state of the window before moving it, including any relevant
parameters set in Lisp or using X resources, etc.
2. the exact steps you take to move the window (including any mouse
gestures; pixel distances need not not be exact, but it's easier to
understand if you give some examples, such as "drag the window 20
pixels to the left with the mouse").
3. exactly how the window "jumps back," and to what position relative
to 1 and 2 above.
More information about the XEmacs-Beta
mailing list