X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=board.c;h=0941fc97e16c11a94d7e7f890e28b7c33e92e4a4;hb=b737badf310f917fb0f7d5657fe7418aa4a8e401;hp=0becf9a76698167477f92350aa543ad05d563581;hpb=dd67211f46050409861a109a9778af6594279569;p=xboard.git diff --git a/board.c b/board.c index 0becf9a..0941fc9 100644 --- a/board.c +++ b/board.c @@ -918,7 +918,7 @@ DrawPosition (int repaint, Board board) MarkMenuItem("View.Flip View", flipView); } - if(nr) { SlavePopUp(); SwitchWindow(); } // [HGM] popup board if not yet popped up, and switch drawing to it. + if(nr) { SlavePopUp(); SwitchWindow(0); } // [HGM] popup board if not yet popped up, and switch drawing to it. /* * It would be simpler to clear the window with XClearWindow() @@ -1034,7 +1034,7 @@ DrawPosition (int repaint, Board board) } FlashDelay(0); // this flushes drawing queue; - if(nr) SwitchWindow(); + if(nr) SwitchWindow(1); } /* [AS] Arrow highlighting support */