summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-14 19:32:01 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-14 19:32:01 +0300
commit158dd2f34e7cbefa26bcfe9a3410640b1e7caa58 (patch)
tree3d9a61184db527bf853bbc9e93c4042f8676932a /src
parent7635fd3938bade7ff8323c36dfd9e7b001d10f1f (diff)
downloadplus-158dd2f34e7cbefa26bcfe9a3410640b1e7caa58.tar.gz
plus-158dd2f34e7cbefa26bcfe9a3410640b1e7caa58.tar.bz2
plus-158dd2f34e7cbefa26bcfe9a3410640b1e7caa58.tar.xz
plus-158dd2f34e7cbefa26bcfe9a3410640b1e7caa58.zip
Add additional pixel in shortcuts like windows for better moving.
Diffstat (limited to 'src')
-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);