summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-27 20:46:35 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-28 00:09:01 +0200
commite50fa413cbe2df8c0b7f5cb517b349bf730dae3c (patch)
tree86dbeadac1dba30e23a75cf2902fbcd723ee4e1f
parent4f71bd54a7e7c2b80908bf00835eb7ee26f21316 (diff)
downloadserenity-e50fa413cbe2df8c0b7f5cb517b349bf730dae3c.zip
WindowServer: Move window title bar icons 1px to the right
This makes wider icons look better, since they no longer rub up against the left edge.
-rw-r--r--Services/WindowServer/WindowFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Services/WindowServer/WindowFrame.cpp b/Services/WindowServer/WindowFrame.cpp
index 41f17d163a..0c815ac781 100644
--- a/Services/WindowServer/WindowFrame.cpp
+++ b/Services/WindowServer/WindowFrame.cpp
@@ -162,7 +162,7 @@ Gfx::IntRect WindowFrame::title_bar_icon_rect() const
{
auto titlebar_rect = title_bar_rect();
return {
- titlebar_rect.x() + 1,
+ titlebar_rect.x() + 2,
titlebar_rect.y() + 2,
16,
titlebar_rect.height(),