summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/windowmanager-sdl.cc
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-10-20 17:54:59 +0200
committerRaphael Langella <raphael.langella@gmail.com>2010-10-20 17:54:59 +0200
commit3a94664038d084a76c9af67534efb62f6041b9a8 (patch)
tree4abd70edee3675d1dcfb9141914868fd42b7004d /crawl-ref/source/windowmanager-sdl.cc
parent7660c0c433a0504e76181b2440586a5805565147 (diff)
downloadcrawl-ref-3a94664038d084a76c9af67534efb62f6041b9a8.tar.gz
crawl-ref-3a94664038d084a76c9af67534efb62f6041b9a8.zip
slightly reduce the taskbar offset
Diffstat (limited to 'crawl-ref/source/windowmanager-sdl.cc')
-rw-r--r--crawl-ref/source/windowmanager-sdl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/windowmanager-sdl.cc b/crawl-ref/source/windowmanager-sdl.cc
index 2d05d053e1..7e4ddd9506 100644
--- a/crawl-ref/source/windowmanager-sdl.cc
+++ b/crawl-ref/source/windowmanager-sdl.cc
@@ -300,7 +300,7 @@ int SDLWrapper::init(coord_def *m_windowsz)
// window just above the taskbar.
int delta_x = (wm->desktop_width() - m_windowsz->x) / 2;
int taskbar_height = get_taskbar_height();
- taskbar_height += 8; // Some margin for the window border.
+ taskbar_height += 6; // Some margin for the window border.
if ((wm->desktop_height() - m_windowsz->y) / 2 < taskbar_height)
{
char env_str[50];