summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/shortcutwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp
index fed2deba8..888b97222 100644
--- a/src/gui/shortcutwindow.cpp
+++ b/src/gui/shortcutwindow.cpp
@@ -58,7 +58,7 @@ ShortcutWindow::ShortcutWindow(const std::string &title,
{
setWindowName(title);
// no title presented, title bar is padding so window can be moved.
- gcn::Window::setTitleBarHeight(gcn::Window::getPadding());
+ gcn::Window::setTitleBarHeight(gcn::Window::getPadding() + 1);
setShowTitle(false);
setResizable(true);
setDefaultVisible(false);
@@ -104,7 +104,7 @@ ShortcutWindow::ShortcutWindow(const std::string &title, std::string skinFile,
{
setWindowName(title);
// no title presented, title bar is padding so window can be moved.
- gcn::Window::setTitleBarHeight(gcn::Window::getPadding());
+ gcn::Window::setTitleBarHeight(gcn::Window::getPadding() + 1);
setShowTitle(false);
setResizable(true);
setDefaultVisible(false);