From 164a09537518f39313e2c10ead6651cba259ccd5 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Thu, 7 Aug 2003 17:06:12 +0000 Subject: [PATCH] Fix lock up when not using a session manager and doing fd management. --- openbox/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.39.2