projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8ebc243
)
Fix GTK error auto-raising board
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 2 Feb 2013 14:58:04 +0000 (15:58 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 2 Feb 2013 14:58:04 +0000 (15:58 +0100)
The variable mainwindow is not set in the gtk2 version. Unfortunately
it is still used to determine default board size...
gtk/xboard.c
patch
|
blob
|
history
diff --git
a/gtk/xboard.c
b/gtk/xboard.c
index
afe8ef7
..
e107746
100644
(file)
--- a/
gtk/xboard.c
+++ b/
gtk/xboard.c
@@
-371,7
+371,7
@@
String xboardResources[] = {
void
BoardToTop ()
{
- gtk_window_present(GTK_WINDOW(mainwindow));
+ gtk_window_present(GTK_WINDOW(shells[BoardWindow]));
}
//---------------------------------------------------------------------------------------------------------