From fb268349388384505dc405854da114256e301625 Mon Sep 17 00:00:00 2001 From: liufei Date: Thu, 6 Jan 2022 15:41:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=97=B6=E4=B8=8D=E9=81=AE?= =?UTF-8?q?=E6=8C=A1=E4=BB=BB=E5=8A=A1=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Util/ShowWindowFollowMouse.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Util/ShowWindowFollowMouse.cs b/Util/ShowWindowFollowMouse.cs index b5db6ec..285a492 100644 --- a/Util/ShowWindowFollowMouse.cs +++ b/Util/ShowWindowFollowMouse.cs @@ -27,7 +27,7 @@ namespace GeekDesk.Util double left = SystemParameters.VirtualScreenLeft; double top = SystemParameters.VirtualScreenTop; double width = SystemParameters.VirtualScreenWidth; - double height = SystemParameters.VirtualScreenHeight; + double height = SystemParameters.WorkArea.Height + 20; double right = width - Math.Abs(left); double bottom = height - Math.Abs(top); @@ -36,7 +36,6 @@ namespace GeekDesk.Util switch (position) { - case MousePosition.LEFT_BOTTOM: afterWidth = 0; afterHeight = window.Height;