Multiple issues have been found in the X server and Xwayland
This commit is contained in:
parent
b5bb0bd1e8
commit
79d7f8454a
7 changed files with 114 additions and 84 deletions
|
@ -605,6 +605,7 @@ DeepCopyPointerClasses(DeviceIntPtr from, DeviceIntPtr to)
|
|||
to->button = calloc(1, sizeof(ButtonClassRec));
|
||||
if (!to->button)
|
||||
FatalError("[Xi] no memory for class shift.\n");
|
||||
to->button->numButtons = from->button->numButtons;
|
||||
}
|
||||
else
|
||||
classes->button = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue