April 1-st is already passed

This commit is contained in:
pelya
2017-04-05 23:30:07 +03:00
committed by Sergii Pylypenko
parent 4f81c56d8f
commit e56f422ad5

View File

@@ -895,7 +895,7 @@ NWidgetCore *NWidgetCore::GetWidgetFromPos(int x, int y)
void NWidgetCore::DrawEdgeOrnament(const Window *w) const
{
if (!_settings_client.gui.windows_decorations ^ _settings_client.gui.windows_titlebars) return; // April 1st, fools!
if (!_settings_client.gui.windows_decorations) return;
if (w->window_class == WC_MAIN_TOOLBAR ||
w->window_class == WC_MAIN_TOOLBAR_RIGHT ||
w->window_class == WC_BUILD_CONFIRMATION ||