Re: forcing focus
- From: Owen Taylor <otaylor redhat com>
- To: John C Atkeson <jcatkeson juno com>
- Cc: gtk-list redhat com
- Subject: Re: forcing focus
- Date: 06 Dec 1999 14:44:08 -0500
John C Atkeson <email@example.com> writes:
> This example (another hack of Scribble) works right in gtk-win32 but
> not in Linux/KDE or Irix.
> In Win32, when I click on the drawing area, the text-entry window
> raises and keeps focus, so that I can type in text without having to move
> the mouse away from the drawing area.
> In Linux/KDE and Irix, the text-entry comes forward but stays out of
> How do I force the text window to be type-able after every click in the
> graphic window?
This is a window manager issue. The window manager is eating the click
that is used to raise the window. Many window managers have an option
to pass this click through. Alternatively, you could switch to a
different focus policy that doesn't require a click to transfer
] [Thread Prev