Chromium Code Reviews| Index: base/message_pump_x.cc |
| diff --git a/base/message_pump_x.cc b/base/message_pump_x.cc |
| index 8e098af95924e57269b906f21eb7975d926d3c0f..2eb9a370146671a85fd3c3e4adf2c5e19b6c52c9 100644 |
| --- a/base/message_pump_x.cc |
| +++ b/base/message_pump_x.cc |
| @@ -70,7 +70,11 @@ void InitializeXInput2(void) { |
| return; |
| } |
| +#if defined(USE_XI2_MT) |
| + int major = 2, minor = 1; |
|
sadrul
2011/09/19 15:58:08
Given that the official XInput2.1 will not have th
Daniel Kurtz
2011/09/20 05:12:27
I agree with sadrul. Please make 2.2 by default.
ningxin.hu
2011/09/20 14:28:59
Thanks for comments. Will use USE_XI2_MT as minimu
|
| +#else |
| int major = 2, minor = 0; |
| +#endif |
| if (XIQueryVersion(display, &major, &minor) == BadRequest) { |
| VLOG(1) << "XInput2 not supported in the server."; |
| xiopcode = -1; |