Skip to content

Commit 10cdcda

Browse files
committed
Handle migrations
1 parent ed08a06 commit 10cdcda

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/config.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,10 @@ load_input_devices(void)
783783
else
784784
mouse_type = 0;
785785

786+
// Migration.
787+
if (tablet_get_from_internal_name(p) && mouse_type == 0)
788+
ini_section_set_string(cat, "tablet_type", tablet_get_from_internal_name(p));
789+
786790
p = ini_section_get_string(cat, "tablet_type", NULL);
787791
if (p != NULL)
788792
tablet_type = tablet_get_from_internal_name(p);

0 commit comments

Comments
 (0)