[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in set-frame-position?

From: Mickey Ferguson
Subject: bug in set-frame-position?
Date: Mon, 17 Jan 2005 13:58:46 -0800

>From the documentation:

(set-frame-position FRAME XOFFSET YOFFSET)

Sets position of FRAME in pixels to XOFFSET by YOFFSET.
This is actually the position of the upper left corner of the frame.
Negative values for XOFFSET or YOFFSET are interpreted relative to
the rightmost or bottommost possible position (that stays within the

Now what I want is to be able to specify my window (frame) to be up against
the right-hand side of my screen.  So I thought I would use (set-frame
position (selected-frame) -0 0).  Nope, it interprets -0 the same as 0.  The
best I could do was -1 0, which left a little space between my window and
the edge of the screen.  Is there any way to specify it flush-right?  Or is
this a bug where it should interpret -0 as meaning flush-right, but it's
not?  Or maybe there's another way to do this?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]