Merge pull request #76924 from stolk/fixuninit
x11: Do not use uninitialized timestamps.
This commit is contained in:
commit
0c7c35bdc6
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ bool DisplayServerX11::_refresh_device_info() {
|
|||
xi.absolute_devices.clear();
|
||||
xi.touch_devices.clear();
|
||||
xi.pen_inverted_devices.clear();
|
||||
xi.last_relative_time = 0;
|
||||
|
||||
int dev_count;
|
||||
XIDeviceInfo *info = XIQueryDevice(x11_display, XIAllDevices, &dev_count);
|
||||
|
|
Loading…
Reference in a new issue