diff options
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index e82ca8e1b..b1cd873fc 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -834,6 +834,10 @@ wx::report_problem() bool layout_for_short_screen(wxWindow* reference) { + if (Config::instance()->layout_for_short_screen()) { + return true; + } + auto const sn = wxDisplay::GetFromWindow(reference); return sn >= 0 && wxDisplay(sn).GetClientArea().height <= 800; } |
