Jasper St. Pierre 5cb5a6ecd2 Don't sleep in the event thread
The person who wrote this seemed to misunderstand how XPending and
XNextEvent actually work. XNextEvent will wait in poll if there's
no event yet, meaning that we don't need to sleep after we process
all the events; the kernel will sleep for us.

This changes indentation, so view with -w or a similar feature to
understand what's actually changed here.
2014-09-04 17:24:51 -07:00
..
2014-08-30 18:06:48 -04:00
2014-08-19 10:06:25 -04:00
2014-08-19 10:06:26 -04:00
2014-08-19 10:06:26 -04:00
2014-08-19 10:06:26 -04:00
2014-08-19 10:06:26 -04:00
2014-08-19 10:06:26 -04:00
2014-08-19 10:06:26 -04:00
2014-08-19 10:06:26 -04:00
2014-08-30 18:06:48 -04:00
2014-08-19 10:06:25 -04:00
2014-08-30 18:06:48 -04:00
2014-08-19 10:05:58 -04:00
2014-09-04 17:24:51 -07:00