1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Fix defaulting win positions

This commit is contained in:
James Booth 2016-09-25 20:49:54 +01:00
parent 6c8def367c
commit 3bf383cec6

View File

@ -1104,24 +1104,24 @@ prefs_get_win_placement(void)
// return default if duplicates found
if (titlebar_pos == mainwin_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5);
return prefs_create_profwin_placement(1, 2, 3, 4);
}
if (titlebar_pos == statusbar_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5);
return prefs_create_profwin_placement(1, 2, 3, 4);
}
if (titlebar_pos == inputwin_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5);
return prefs_create_profwin_placement(1, 2, 3, 4);
}
if (mainwin_pos == statusbar_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5);
return prefs_create_profwin_placement(1, 2, 3, 4);
}
if (mainwin_pos == inputwin_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5);
return prefs_create_profwin_placement(1, 2, 3, 4);
}
if (statusbar_pos == inputwin_pos) {
return prefs_create_profwin_placement(1, 2, 3, 5);
return prefs_create_profwin_placement(1, 2, 3, 4);
}
// return settings