|
From: Ka-Hing C. <kh...@ja...> - 2003-04-07 20:10:53
|
On Mon, 2003-04-07 at 13:00, Decklin Foster wrote: > But if you want to kludge it, here's the patch. I should note that this > fixes another trivial bug: at the end of gtk_imhtml_tip, when the tip > window is actually mapped, the gtk_window_move and gtk_window_show calls > are in the wrong order. This means that the tooltip pops up at (0, 0) > for an instant and then moves itself to the right place. Very annoying. > Regardless of what is done about the parent issue, this should be fixed. > It's trivial enough to describe so I won't bother making a separate > patch without the kludgery. I did that because (start quoting from gtk-doc): void gtk_window_move (GtkWindow *window, gint x, gint y); Asks the window manager to move window to the given position. Window managers are free to ignore this; most window managers ignore requests for initial window positions (instead using a user-defined placement algorithm) and honor requests after the window has already been shown. So it is possible for Window managers to ignore the gtk_window_move call if the window is not actually shown. But well, none of the wm seem to do this, so I guess it doesn't really matter. - Ka-Hing Your depth of comprehension may tend to make you lax in worldly ways. |