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

[XaraXtreme-dev] Re: [XaraXtreme-bugzilla] [Bug 1036] Non-modal dialogs wrongly take focus (was: Hotkeys don't toggle galleries)

bugzilla-daemon@xxxxxxxxxxxxxxxx wrote:
So is what you are saying that when a window in one TLW hierarchy has focus, and
you call SetFocus to give focus to a window in another TLW hierachy (i.e. whose
ultimate parent is a window different from the ultimate parent of the current
focus window), the call fails to work?

If so, have you tried doing this in a scenario other than responding to a focus
change event? Some GTK stuff (especially with TLW's) is done on an idle event
following the frame, so it may be that your SetFocus call just gets blatted later
Have you added a mechanism elsewhere to get around these problems?