diff options
author | Danny Baumann <dannybaumann@web.de> | 2010-04-28 09:55:57 +0200 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2010-04-28 09:55:57 +0200 |
commit | a4c0bd14fe7011a056f25b4875534fac411c07a0 (patch) | |
tree | e25f5e2e985e85aff20f34cbb636c0624d9bc547 /src | |
parent | 7b78d2885f6cba19c8acf84d468b0686a5a5c990 (diff) | |
download | zcomp-a4c0bd14fe7011a056f25b4875534fac411c07a0.tar.gz zcomp-a4c0bd14fe7011a056f25b4875534fac411c07a0.tar.bz2 |
Add some additional accessor functions for more consistent class usage.
Diffstat (limited to 'src')
-rw-r--r-- | src/screen.cpp | 6 |
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); |