X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=ngamelist.c;h=c843d38d17096b8e5aee501226400fdfff544dca;hb=ce2d2972671ea7eff9dbbe7028718bef4d837dfb;hp=cf937ac1fec6ca99f04aceaf909122930b4aef47;hpb=50557f2672d69023a07441d0ae2ecea73d7f6af4;p=xboard.git diff --git a/ngamelist.c b/ngamelist.c index cf937ac..c843d38 100644 --- a/ngamelist.c +++ b/ngamelist.c @@ -1,7 +1,7 @@ /* * ngamelist.c -- Game list window, Xt-independent front-end code for XBoard * - * Copyright 1995, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. + * Copyright 1995, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. * ------------------------------------------------------------------------ * * GNU XBoard is free software: you can redistribute it and/or modify @@ -151,7 +151,7 @@ static int GameListCreate (char *name) { int new; - if(new = GenericPopUp(gamesOptions, name, GameListDlg, BoardWindow, NONMODAL, 1)) + if(new = GenericPopUp(gamesOptions, name, GameListDlg, BoardWindow, NONMODAL, appData.topLevel)) AddHandler(&gamesOptions[1], GameListDlg, 4), AddHandler(&gamesOptions[0], GameListDlg, 5); FocusOnWidget(&gamesOptions[0], GameListDlg); @@ -278,7 +278,7 @@ ShowGameListProc () PopDown(GameListDlg); return; } - GenericPopUp(NULL, NULL, GameListDlg, BoardWindow, NONMODAL, 1); // first two args ignored when shell exists! + GenericPopUp(NULL, NULL, GameListDlg, BoardWindow, NONMODAL, appData.topLevel); // first two args ignored when shell exists! MarkMenu("View.GameList", GameListDlg); GameListHighlight(lastLoadGameNumber); }