[Freeciv-Dev] [gtk] message window remains hidden when in background (+
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Full_Name: Francois Taiani
Version: 1.12.0
Distribution: Built from source
Client: Gtk+
OS: lunix debian 2.2
Submission from: (NULL) (213.195.6.62)
When the message window is grabbed under the main window
(i.e. in the background but not closed !), messagewin.c:popup_meswin_dialog
does not bring it in the foreground again. In particular F10 and the
corresponding menu item leave it under the main window (which is confusing,
because the user thinks the message window does not work any more).
Proposed patch (It works with my installation. Though, because I'm totally
novice with gdk / gtk, the patch definitely needs review. Good point: It's
a minimal patch. 1 line inserted :-)
----CUT-HERE---------
--- client/gui-gtk/messagewin.c.orig Mon Jan 29 19:55:29 2001
+++ client/gui-gtk/messagewin.c Wed Aug 22 22:54:09 2001
@@ -91,6 +91,7 @@
gtk_set_relative_position(toplevel, meswin_dialog_shell, 25, 25);
gtk_widget_show(meswin_dialog_shell);
+ gdk_window_show(meswin_dialog_shell->window) ;
if(!updated)
update_meswin_dialog();
----CUT-HERE---------
Cheers
Francois
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] [gtk] message window remains hidden when in background (+ minimal patch) (PR#902),
francois . taiani <=
|
|