Option in settings for window decorations

This commit is contained in:
pelya
2017-03-31 02:48:56 +03:00
committed by Sergii Pylypenko
parent 406e98c722
commit c6d4812563
5 changed files with 14 additions and 1 deletions

View File

@@ -900,7 +900,8 @@ void NWidgetCore::DrawEdgeOrnament(const Window *w) const
w->window_class == WC_BUILD_CONFIRMATION ||
w->window_class == WC_STATUS_BAR ||
w->window_class == WC_TOOLTIPS ||
w->window_class == WC_DROPDOWN_MENU) {
w->window_class == WC_DROPDOWN_MENU ||
!_settings_client.gui.windows_decorations) {
return;
}
if (this->pos_x == 0) {