Proposed change to avoid high CPU usage ref. #7

This commit is contained in:
bakkeby 2022-01-11 13:51:52 +01:00
parent 51d3f49e04
commit 312951b978

View File

@ -458,6 +458,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
} }
lasttouched = currenttime; lasttouched = currenttime;
} }
usleep(50); // artificial sleep for 50ms
#endif // AUTO_TIMEOUT_PATCH #endif // AUTO_TIMEOUT_PATCH
} }
} }