diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /xfce-base/xfwm4/files | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'xfce-base/xfwm4/files')
-rw-r--r-- | xfce-base/xfwm4/files/xfwm4-4.13.1-fix-mask-len.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/xfce-base/xfwm4/files/xfwm4-4.13.1-fix-mask-len.patch b/xfce-base/xfwm4/files/xfwm4-4.13.1-fix-mask-len.patch new file mode 100644 index 000000000000..640e297ce92e --- /dev/null +++ b/xfce-base/xfwm4/files/xfwm4-4.13.1-fix-mask-len.patch @@ -0,0 +1,31 @@ +From 2080fa3c81b3810228ae5a8abbb494c78dd1d566 Mon Sep 17 00:00:00 2001 +From: Timo <timo.teras@iki.fi> +Date: Thu, 13 Sep 2018 20:25:33 +0200 +Subject: device: Fix wrong mask len + +Bug: 14695 + +The `mask_len` field is setup incorrectly in +`xfwm_device_fill_xi2_event_mask()`. + +The size is the pointer length, not the bitmask data area length. +--- + src/device.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/device.c b/src/device.c +index b1e33ae2..01c0c81d 100644 +--- a/src/device.c ++++ b/src/device.c +@@ -301,7 +301,7 @@ xfwm_device_fill_xi2_event_mask (XIEventMask *xievent_mask, gulong core_mask) + 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++) +-- +cgit v1.2.1 + |