mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 20:01:00 -05:00
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:
parent
e22c75377b
commit
ee07580365
@ -609,7 +609,7 @@ meta_input_settings_x11_set_tablet_area (MetaInputSettings *settings,
|
|||||||
area[0] = width * padding_left;
|
area[0] = width * padding_left;
|
||||||
area[1] = height * padding_top;
|
area[1] = height * padding_top;
|
||||||
area[2] = width - (width * padding_right);
|
area[2] = width - (width * padding_right);
|
||||||
area[2] = height - (height * padding_bottom);
|
area[3] = height - (height * padding_bottom);
|
||||||
update_tablet_area (settings, device, area);
|
update_tablet_area (settings, device, area);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user