diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Screen.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 507a58f..366b8df 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -2111,7 +2111,7 @@ int BScreen::getHead(const FbTk::FbWindow &win) const { | |||
2111 | if (hasXinerama()) { | 2111 | if (hasXinerama()) { |
2112 | 2112 | ||
2113 | // cast needed to prevent win.x() become "unsigned int" which is bad | 2113 | // cast needed to prevent win.x() become "unsigned int" which is bad |
2114 | // since it might become negative | 2114 | // since it might be negative |
2115 | int cx = win.x() + static_cast<int>(win.width() / 2); | 2115 | int cx = win.x() + static_cast<int>(win.width() / 2); |
2116 | int cy = win.y() + static_cast<int>(win.height() / 2); | 2116 | int cy = win.y() + static_cast<int>(win.height() / 2); |
2117 | 2117 | ||