summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2003-08-07 17:06:12 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2003-08-07 17:06:12 +0000
commit164a09537518f39313e2c10ead6651cba259ccd5 (patch)
treeedf45ba2470e77bfb931c54ce71229431e499753 /openbox
parentf50c2bc2a3588c05832af39cd400d5be70ca8bde (diff)
Fix lock up when not using a session manager and doing fd management.
Diffstat (limited to 'openbox')
-rw-r--r--openbox/event.c2
1 files changed, 1 insertions, 1 deletions
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
}