mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
don't connect to relay unless have something to send
This commit is contained in:
parent
cb4672b8b9
commit
5581fd064e
1 changed files with 1 additions and 7 deletions
|
@ -308,17 +308,11 @@ configure_event( GtkWidget* widget, GdkEventConfigure* event,
|
|||
{
|
||||
short width, height, leftMargin, topMargin;
|
||||
short timerLeft, timerTop;
|
||||
gboolean firstTime;
|
||||
gint hscale, vscale;
|
||||
gint trayTop;
|
||||
gint boardTop = 0;
|
||||
|
||||
firstTime = (globals->draw == NULL);
|
||||
|
||||
if ( firstTime ) {
|
||||
int listenSocket = linux_init_socket( &globals->cGlobals );
|
||||
gtkListenOnSocket( globals, listenSocket );
|
||||
|
||||
if ( globals->draw == NULL ) {
|
||||
createOrLoadObjects( globals );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue