mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
xres/xkb/xvmc/modesetting: Fix incorrect pointer data size usage
* xled change tested with `xset led named "Scroll Lock"` * modesetting change tested with `xrandr --output DP-1 --gamma 0.5:0.5:0.5`. Without this fix that command does nothing * xvmc change tested with `mpv --vo=xv video.mp4` Of the currently reported issues this fixes #104 Signed-off-by: dec05eba <dec05eba@protonmail.com>
This commit is contained in:
@@ -806,7 +806,7 @@ XkbFlushLedEvents(DeviceIntPtr dev,
|
||||
XkbDDXUpdateDeviceIndicators(dev, sli, sli->effectiveState);
|
||||
XkbSendExtensionDeviceNotify(dev, cause->client, ed);
|
||||
}
|
||||
memset((char *) ed, 0, sizeof(XkbExtensionDeviceNotify));
|
||||
memset((char *) ed, 0, sizeof(xkbExtensionDeviceNotify));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user