mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Fix for compile error
This commit is contained in:
parent
eefdf2b2eb
commit
98cbe99f9a
2 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue