aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 3ef27a6..7af00a7 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -2234,7 +2234,7 @@ int BScreen::getHead(int x, int y) const {
2234 return 0; 2234 return 0;
2235} 2235}
2236 2236
2237int BScreen::getHead(FbTk::FbWindow &win) const { 2237int BScreen::getHead(const FbTk::FbWindow &win) const {
2238 if (hasXinerama()) 2238 if (hasXinerama())
2239 return getHead(win.x() + win.width()/2, win.y() + win.height()/2); 2239 return getHead(win.x() + win.width()/2, win.y() + win.height()/2);
2240 else 2240 else