aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfwm4/fix-mask-length.patch
blob: dd050c8dcdb9d72a35d694d5a070acac70841162 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ru xfwm4-4.13.1.orig/src/device.c xfwm4-4.13.1/src/device.c
--- xfwm4-4.13.1.orig/src/device.c	2018-07-29 16:08:54.000000000 +0300
+++ xfwm4-4.13.1/src/device.c	2018-09-12 08:49:18.130254993 +0300
@@ -301,7 +301,7 @@
     guint i;
 
     xievent_mask->deviceid = XIAllMasterDevices;
-    xievent_mask->mask_len = sizeof (mask);
+    xievent_mask->mask_len = len;
     xievent_mask->mask = mask;
 
     for (i = 0; i < G_N_ELEMENTS (core_to_xi2); i++)