[Top][All Lists]

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

Re: startup frame position

From: Eli Zaretskii
Subject: Re: startup frame position
Date: Fri, 23 Jun 2006 21:21:53 +0300

> From: Ralf Angeli <address@hidden>
> Cc: address@hidden
> 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?

reply via email to

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