From 9b0cedf9618f382c8691d3243668771e065732b2 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Thu, 23 May 2013 09:16:19 +0200 Subject: minor --- src/Screen.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { 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(win.width() / 2); int cy = win.y() + static_cast(win.height() / 2); -- cgit v0.11.2