Re: How do I create a non-focused window?

On Mon, May 26, 2008 at 4:28 PM, Paul Davis <paul linuxaudiosystems com> wrote:

AFAIK, this is largely a function of your window manager rather than
GTK. GTK does not "grab focus" for a new window, but the WM may move
focus to the new window if that is its policy for that window type.

Thanks Paul.

We discussed it in some length at the gtk-app-devel list, here:

Turns out there's a designated way for the window to set a hint on itself that it shouldn't receive focus upon creation (gtk_window_set_focus_on_map()).

Oddly enough, Gnome does not seem to respect that hint. GTK+ being the default widget toolkit for Gnome, this looks like a bug.



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