]> Dogcows Code - chaz/openbox/commitdiff
Fix lock up when not using a session manager and doing fd management.
authorScott Moynes <smoynes@nexus.carleton.ca>
Thu, 7 Aug 2003 17:06:12 +0000 (17:06 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Thu, 7 Aug 2003 17:06:12 +0000 (17:06 +0000)
openbox/event.c

index 7db6945dc7d11bd4cbe3efbb16981e01751ad6f1..a0515e2eebd73e419a32023bdcd73a93479a09a2 100644 (file)
@@ -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
 }
 
This page took 0.030121 seconds and 4 git commands to generate.