@@ -624,7 +624,7 @@ VOID _app_notify_setposition (
624624
625625 if (!is_forced && _r_wnd_isvisible (hwnd , FALSE))
626626 {
627- _r_wnd_adjustrectangletoworkingarea (hwnd , & window_rect );
627+ _r_wnd_adjustrectangletoworkingarea (& window_rect , hwnd );
628628 _r_wnd_setposition (hwnd , & window_rect .position , NULL );
629629
630630 return ;
@@ -670,7 +670,7 @@ VOID _app_notify_setposition (
670670 window_rect .top = (rect -> bottom - window_rect .height ) - border_x ;
671671 }
672672
673- _r_wnd_adjustrectangletoworkingarea (NULL , & window_rect );
673+ _r_wnd_adjustrectangletoworkingarea (& window_rect , NULL );
674674 _r_wnd_setposition (hwnd , & window_rect .position , NULL );
675675
676676 return ;
@@ -1207,7 +1207,7 @@ INT_PTR CALLBACK NotificationProc (
12071207 ClientToScreen (nmlp -> hwndFrom , (PPOINT )& rect );
12081208
12091209 _r_wnd_recttorectangle (& rectangle , & rect );
1210- _r_wnd_adjustrectangletoworkingarea (nmlp -> hwndFrom , & rectangle );
1210+ _r_wnd_adjustrectangletoworkingarea (& rectangle , nmlp -> hwndFrom );
12111211 _r_wnd_rectangletorect (& rect , & rectangle );
12121212
12131213 _r_menu_popup (hsubmenu , hwnd , (PPOINT )& rect , TRUE);
0 commit comments