From: Scott Moynes Date: Thu, 7 Aug 2003 17:06:12 +0000 (+0000) Subject: Fix lock up when not using a session manager and doing fd management. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=164a09537518f39313e2c10ead6651cba259ccd5;p=chaz%2Fopenbox Fix lock up when not using a session manager and doing fd management. --- diff --git a/openbox/event.c b/openbox/event.c index 7db6945d..a0515e2e 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1144,7 +1144,7 @@ static void find_max_fd() (gpointer)&tmpmax); max_fd = MAX(x_fd, tmpmax); #ifdef USE_SM - max_fd = MAX(ice_fd, tmpmax); + max_fd = MAX(ice_fd, max_fd); #endif }