From ee075803655013ddd61563a905902d7c3672dbad Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 16 Jun 2017 18:02:50 +0200 Subject: [PATCH] backends/x11: Fix c&p issue in tablet area calculation instead of filling in the last array value, it overwrote the previous one. https://bugzilla.gnome.org/show_bug.cgi?id=781703 --- src/backends/x11/meta-input-settings-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/x11/meta-input-settings-x11.c b/src/backends/x11/meta-input-settings-x11.c index 174fd3287..e111ceb22 100644 --- a/src/backends/x11/meta-input-settings-x11.c +++ b/src/backends/x11/meta-input-settings-x11.c @@ -609,7 +609,7 @@ meta_input_settings_x11_set_tablet_area (MetaInputSettings *settings, area[0] = width * padding_left; area[1] = height * padding_top; area[2] = width - (width * padding_right); - area[2] = height - (height * padding_bottom); + area[3] = height - (height * padding_bottom); update_tablet_area (settings, device, area); }