Re: libwnck: window focus after raise

thanks for the guidance.  It helped me locate the problem. happy holidays!


On Fri, 24 Dec 2004 11:17:04 -0500, Havoc Pennington <hp redhat com> wrote:
> On Thu, 2004-12-23 at 23:16 -0800, Danan Sudindranath wrote:
> > I'm using libwnck to raise some windows.  The function I'm using is
> > wnck_window_activate()
> >
> > The function raises the window fine, but it doesn't focus it (it's
> > still "grayed out"), and I have to click in the window in order to
> > focus it.  I've noticed that other apps that use libwnck (like the
> > gnome-panel window list)  are able to raise windows, and also have
> > them be focused.   Do I have to do something other than
> > wnck_window_activate in order to cause a window to be focused?
> >
> > I don't know if it matters, but I'm calling window_activate from
> > another top-level window.
> Depends on your window manager, but most will both raise and focus. Only
> reason I can think it would not focus would be timestamp-related. Maybe
> someone else is focusing with a later timestamp.
> Havoc

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