Skip to content

Commit

Permalink
win32u: Implement EVENT_SYSTEM_FOREGROUND.
Browse files Browse the repository at this point in the history
CW-Bug-ID: #23779.
  • Loading branch information
madewokherd committed May 13, 2024
1 parent cd0172f commit 608842f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dlls/win32u/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -1918,6 +1918,8 @@ static BOOL set_active_window( HWND hwnd, HWND *prev, BOOL mouse, BOOL focus )

if (hwnd)
{
NtUserNotifyWinEvent( EVENT_SYSTEM_FOREGROUND, hwnd, 0, 0 );

/* send palette messages */
if (send_message( hwnd, WM_QUERYNEWPALETTE, 0, 0 ))
send_message_timeout( HWND_BROADCAST, WM_PALETTEISCHANGING, (WPARAM)hwnd, 0,
Expand Down

0 comments on commit 608842f

Please sign in to comment.