Skip to content

Commit 5c3fd24

Browse files
committed
upd project sdk
1 parent 3dad686 commit 5c3fd24

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/notifications.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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);

src/timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ VOID _app_timer_set (
5656
{
5757
current_time = _r_unixtime_now ();
5858

59-
_r_unixtime_to_filetime (current_time + seconds, &file_time);
59+
_r_unixtime_to_filetime (&file_time, current_time + seconds);
6060

6161
_r_calc_filetime2largeinteger (&file_time, &li);
6262

0 commit comments

Comments
 (0)