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-19 10:06:25 -04:00
2014-09-03 01:28:17 -07:00
2014-09-04 17:24:51 -07:00
2014-08-31 15:23:25 -04:00
2014-07-06 23:46:46 +02:00
2014-06-18 23:40:25 +02:00
2014-02-23 00:27:27 +01:00
2014-08-02 13:49:51 -04:00
2014-08-30 18:06:48 -04:00
2014-08-02 13:49:51 -04:00
2014-02-23 00:27:27 +01:00
2014-08-19 10:06:26 -04:00
2014-08-23 11:19:19 -07:00
2014-02-23 00:27:27 +01:00
2012-12-17 08:33:42 -06:00
2014-09-01 21:27:45 -07:00
2014-08-19 10:06:25 -04:00
2013-10-26 17:55:38 -07:00
2014-08-17 16:18:58 -04:00
2014-02-23 00:27:27 +01:00
2014-09-03 03:02:13 -07:00
2014-08-19 10:37:47 -04:00
2014-08-09 03:40:57 -07:00
2014-08-31 00:59:06 -04:00
2014-08-24 16:00:58 -04:00
2014-06-30 12:06:45 -07:00
2014-08-02 13:49:51 -04:00
2014-02-23 00:27:27 +01:00
2014-08-15 15:18:28 -04:00
2014-09-01 13:44:16 -04:00
2014-09-01 13:44:16 -04:00
2013-09-21 11:24:33 -05:00
2014-08-31 00:59:06 -04:00
2014-08-31 00:59:06 -04:00
2014-09-03 03:08:09 -04:00
2014-08-27 20:35:20 -05:00
2014-02-23 00:27:27 +01:00
2014-09-01 21:55:38 -04:00
2014-07-30 19:32:41 -04:00
2014-08-26 03:59:17 -04:00
2014-02-23 07:48:06 +01:00
2014-09-03 19:50:02 -04:00
2014-09-01 20:15:50 -04:00
2014-08-30 18:06:48 -04:00
2014-07-11 16:10:20 +02:00
2014-08-19 10:37:47 -04:00
2014-09-04 17:24:51 -07:00
2014-08-02 13:49:51 -04:00
2014-05-17 16:25:51 -04:00
2014-08-03 21:27:27 -07:00
2014-06-18 13:22:45 -04:00
2014-08-02 13:49:51 -04:00
2014-08-30 18:06:48 -04:00
2014-08-13 01:05:15 -05:00
2014-08-13 01:05:15 -05:00
2013-11-03 20:54:05 -05:00
2014-08-04 21:36:08 -04:00
2014-08-03 20:28:50 -04:00
2014-08-13 16:42:11 -05:00
2014-08-13 16:42:11 -05:00
2014-09-03 00:35:23 -07:00
2014-09-03 00:35:23 -07:00
2014-09-01 22:02:38 -04:00
2014-08-31 00:59:06 -04:00
2014-05-17 16:25:51 -04:00
2014-02-23 00:27:27 +01:00
2014-08-17 12:57:44 -07:00
2014-08-17 12:57:44 -07:00
2014-08-30 18:06:48 -04:00
2014-08-19 10:05:57 -04:00