summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/screen.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 5bbb0ce..f5fc0d4 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -3543,6 +3543,12 @@ PrivateScreen::getTopWindow ()
}
int
+CompScreen::outputDeviceForPoint (const CompPoint &point)
+{
+ return outputDeviceForPoint (point.x (), point.y ());
+}
+
+int
CompScreen::outputDeviceForPoint (int x, int y)
{
CompWindow::Geometry geom (x, y, 1, 1, 0);