mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-30 13:57:38 +00:00
Fixed the context menu positioning as well, following the previous fix to multimonitor setups.
This commit is contained in:
@@ -140,8 +140,9 @@ namespace OpenHardwareMonitor.GUI {
|
||||
case WM_NCRBUTTONUP: {
|
||||
if (contextMenu != null)
|
||||
ShowContextMenu(new Point(
|
||||
(int)((uint)message.LParam & 0xFFFF),
|
||||
(int)(((uint)message.LParam >> 16) & 0xFFFF)));
|
||||
Macros.GET_X_LPARAM(message.LParam),
|
||||
Macros.GET_Y_LPARAM(message.LParam)
|
||||
));
|
||||
message.Result = IntPtr.Zero;
|
||||
} break;
|
||||
case WM_WINDOWPOSCHANGING: {
|
||||
|
Reference in New Issue
Block a user