bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug in set-frame-position when frame is small?


From: Drew Adams
Subject: bug in set-frame-position when frame is small?
Date: Wed, 8 Sep 2004 23:53:54 -0700

Tested on:

 - Emacs 20.7 on Windows (GNU Emacs 20.7.3 (i386-*-nt5.1.2600) of Thu Dec 21
2000 on buffy).

 - Emacs 21.3 on Windows (GNU Emacs 21.3.50.1 (i386-mingw-nt5.1.2600) of
2004-04-27 on BERATUNG4).


Adjust a frame so that it is small enough that the menu-bar is on two lines.

Execute this:
(set-frame-position
  (selected-frame)
  (+ (frame-parameter (selected-frame) 'left) 10)
     (frame-parameter (selected-frame) 'top))

Instead of moving only to the right, the frame also moves down.
Replace + by - and re-execute. The frame moves left and down.

There should be no down movement.

 - Drew





reply via email to

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