diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2013-05-23 07:16:19 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2013-05-23 07:16:19 (GMT) |
commit | 9b0cedf9618f382c8691d3243668771e065732b2 (patch) | |
tree | 720c7122bcdb90153c7dec789a28d8392f3be0dc /src | |
parent | e00c2b784a90d882689d61d042e26aa1caff0212 (diff) | |
download | fluxbox-9b0cedf9618f382c8691d3243668771e065732b2.zip fluxbox-9b0cedf9618f382c8691d3243668771e065732b2.tar.bz2 |
minor
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 | ||