mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fix defaulting win positions
This commit is contained in:
parent
6c8def367c
commit
3bf383cec6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user