tSet window manager hints and centre-on-parent behaviour for dialog windows, so that, e.g., dopewars plays nicely with window managers that do not automatically centre transients (e.g. Metacity). - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4ec665376d895450a20674e3c635e21c0203aeb3
(DIR) parent cffdcf8e46ce98b2fd738862f03cae7318a31268
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Mon, 7 Oct 2002 12:42:59 +0000
Set window manager hints and centre-on-parent behaviour for dialog windows,
so that, e.g., dopewars plays nicely with window managers that do not
automatically centre transients (e.g. Metacity).
Diffstat:
M src/gui_client/gtk_client.h | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/src/gui_client/gtk_client.h b/src/gui_client/gtk_client.h
t@@ -43,5 +43,6 @@ gboolean GtkLoop(int *argc, char **argv[],
void GuiStartGame(void);
GtkWidget *my_hbbox_new(void);
+void my_set_dialog_position(GtkWindow *dialog);
#endif