all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Glitches in set-frame-position for E16
@ 2013-07-31 11:05 Dmitry Antipov
  2013-07-31 11:22 ` Juanma Barranquero
  2013-07-31 14:54 ` Jan Djärv
  0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Antipov @ 2013-07-31 11:05 UTC (permalink / raw)
  To: Emacs development discussions

Can someone check whether set-frame-position really works
with her/his favorite WM/DE? With my E16, the call to

(set-frame-position (selected-frame) 100 100)

moves the selected frame to (200, 200), and call to

(set-frame-position (selected-frame) -100 -100)

moves it to somewhere which is definitely not the
place I expect on my 1366x768 screen (1266, 668).

Dmitry



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Glitches in set-frame-position for E16
  2013-07-31 11:05 Glitches in set-frame-position for E16 Dmitry Antipov
@ 2013-07-31 11:22 ` Juanma Barranquero
  2013-07-31 14:54 ` Jan Djärv
  1 sibling, 0 replies; 3+ messages in thread
From: Juanma Barranquero @ 2013-07-31 11:22 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: Emacs development discussions

On Wed, Jul 31, 2013 at 1:05 PM, Dmitry Antipov <dmantipov@yandex.ru> wrote:

> (set-frame-position (selected-frame) 100 100)

On Windows 7, it works as expected.

> (set-frame-position (selected-frame) -100 -100)
>
> moves it to somewhere which is definitely not the
> place I expect on my 1366x768 screen (1266, 668).

This also works as documented (which unfortunately means it's a
position relative to the full screen corner and not the workarea's).

   J



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Glitches in set-frame-position for E16
  2013-07-31 11:05 Glitches in set-frame-position for E16 Dmitry Antipov
  2013-07-31 11:22 ` Juanma Barranquero
@ 2013-07-31 14:54 ` Jan Djärv
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Djärv @ 2013-07-31 14:54 UTC (permalink / raw)
  To: Dmitry Antipov; +Cc: Emacs development discussions

Hello.

31 jul 2013 kl. 13:05 skrev Dmitry Antipov <dmantipov@yandex.ru>:

> Can someone check whether set-frame-position really works
> with her/his favorite WM/DE? With my E16, the call to
> 
> (set-frame-position (selected-frame) 100 100)
> 
> moves the selected frame to (200, 200), and call to
> 
> (set-frame-position (selected-frame) -100 -100)
> 
> moves it to somewhere which is definitely not the
> place I expect on my 1366x768 screen (1266, 668).

Any window manager may intercept the frame position and modify it.  This is most possibly E16 adjusting the position, possibly to not cover up some panel or something.

	Jan D.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-31 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-31 11:05 Glitches in set-frame-position for E16 Dmitry Antipov
2013-07-31 11:22 ` Juanma Barranquero
2013-07-31 14:54 ` Jan Djärv

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.