minor
This commit is contained in:
parent
e00c2b784a
commit
9b0cedf961
1 changed files with 1 additions and 1 deletions
|
@ -2111,7 +2111,7 @@ int BScreen::getHead(const FbTk::FbWindow &win) const {
|
||||||
if (hasXinerama()) {
|
if (hasXinerama()) {
|
||||||
|
|
||||||
// cast needed to prevent win.x() become "unsigned int" which is bad
|
// 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 cx = win.x() + static_cast<int>(win.width() / 2);
|
||||||
int cy = win.y() + static_cast<int>(win.height() / 2);
|
int cy = win.y() + static_cast<int>(win.height() / 2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue