Re: libwnck: window focus after raise

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.


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