X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/043d60b14ea6b3a5aa20b541e0db31433564e662..5aff007d8fcfb4c6cc3c3627ae15f45562db7a0d:/disobedience/client.c diff --git a/disobedience/client.c b/disobedience/client.c index 12dfcb2..283ce8a 100644 --- a/disobedience/client.c +++ b/disobedience/client.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2006, 2007 Richard Kettlewell + * Copyright (C) 2006, 2007, 2008 Richard Kettlewell * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -68,7 +68,8 @@ static gboolean gtkclient_dispatch(GSource *source, if(revents & (G_IO_OUT|G_IO_HUP|G_IO_ERR)) mode |= DISORDER_POLL_WRITE; time(&esource->last_poll); - disorder_eclient_polled(esource->client, mode); + if(!login_window) + disorder_eclient_polled(esource->client, mode); return TRUE; /* ??? not documented */ }