summaryrefslogtreecommitdiff
path: root/linux/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linux/main.cpp')
-rw-r--r--linux/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index e6f4dca..fbba97a 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -542,6 +542,7 @@ static void update_window_layout ()
if (pieces_visible)
{
pieces_parent = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_transient_for (GTK_WINDOW (pieces_parent), GTK_WINDOW (main_window));
gtk_signal_connect (GTK_OBJECT (pieces_parent), "delete_event",
GTK_SIGNAL_FUNC (pieces_close), NULL);
gtk_signal_connect (GTK_OBJECT (pieces_parent), "destroy",