This commit is contained in:
Mathias Gumz 2013-05-23 09:16:19 +02:00
parent e00c2b784a
commit 9b0cedf961

View file

@ -2111,7 +2111,7 @@ int BScreen::getHead(const FbTk::FbWindow &win) const {
if (hasXinerama()) {
// cast needed to prevent win.x() become "unsigned int" which is bad
// since it might become negative
// since it might be negative
int cx = win.x() + static_cast<int>(win.width() / 2);
int cy = win.y() + static_cast<int>(win.height() / 2);