Fix for compile error

This commit is contained in:
RKrom 2014-11-04 11:32:43 +01:00
parent eefdf2b2eb
commit 98cbe99f9a
2 changed files with 4 additions and 3 deletions

View file

@ -309,7 +309,7 @@ namespace Greenshot.Helpers {
bool captureTaken = false;
switch (_screenCaptureMode) {
case ScreenCaptureMode.Auto:
Point mouseLocation = WindowCapture.GetCursorLocation();
Point mouseLocation = User32.GetCursorLocation();
foreach (Screen screen in Screen.AllScreens) {
if (screen.Bounds.Contains(mouseLocation)) {
_capture = WindowCapture.CaptureRectangle(_capture, screen.Bounds);