aboutsummaryrefslogtreecommitdiff
path: root/src/window_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_manager.c')
-rw-r--r--src/window_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_manager.c b/src/window_manager.c
index ec26842..f61084f 100644
--- a/src/window_manager.c
+++ b/src/window_manager.c
@@ -259,7 +259,7 @@ static void* thread_main(void *userdata) {
XSelectInput(dpy, root, wa.event_mask);
while(window_manager->running) {
- FD_ZERO(&in_fds);
+ FD_ZERO(&in_fds); /* TODO: Optimize */
FD_SET(x11_fd, &in_fds);
/* Wake up thread every 500ms ms if no events are received */