* Stephan Hennig (2006-05-24) writes:

> Emacs' frame appears in the top left corner of the screen. On Windows OS
> this is ok when the OS's symbol panel (Symbolleiste) is located at the
> bottom of the screen. If the symbol panel is located at the top of the
> screen part of Emacs' frame -- the title panel (Titelleiste) --  gets
> hidden behind the symbol panel so that you can't grab and move the frame
> on the desktop.

FWIW, I find it at least annoying that Emacs under Windows always
creates frames in the top left corner.  I managed to let Windows
position new frames by modifying the calls to `CreateWindow' and
`ShowWindow' in `w32_createwindow'.  For the `CreateWindow' call I
used `CW_USEDEFAULT' instead of `f->left_pos' as third argument and
`SW_SHOW' instead of `f->top_pos' as fourth argument.  For the
`ShowWindow' call I used `SW_SHOW' instead of `SW_HIDE' as second
argument.

Unfortunately newly created frames don't stay at the position they are
created at but instantly move to the top left corner.  I could not
find out where this happens.  I suspect that `x_set_offset' is called
somewhere with values of 0 for both offsets, but I could not find the
respective call.

-- 
Ralf



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to