> From: Ralf Angeli <[EMAIL PROTECTED]>
> Cc: [email protected]
> Date: Fri, 23 Jun 2006 19:43:37 +0200
> 
> I am currently out of wits with respect to fixing the patch and
> getting reasonable placement of newly created frames.

One possible way of solving this would be to call SystemParametersInfo
with SPI_GETWORKAREA arg in x_make_frame_visible, and fix f->left_pos
and f->top_pos we pass to x_set_offset, if their values are inside the
task bar.  I think this should be done for all frames, not just the
initial frame.

A minor catch in this is that user-defined frame parameters will be
only approximately obeyed (if the specified position invades the
taskbar).  I don't know if this is bad.

Could you perhaps find time to try this approach?


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

Reply via email to