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
This commit is contained in:
Carlos Garnacho 2017-06-16 18:02:50 +02:00
parent e22c75377b
commit ee07580365

View File

@ -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);
}