Commit 21c37e8f authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winex11: Directly use win32u for user functions in event.c.

parent dddb8443
......@@ -862,6 +862,13 @@ static inline BOOL send_notify_message( HWND hwnd, UINT msg, WPARAM wparam, LPAR
return NtUserMessageCall( hwnd, msg, wparam, lparam, 0, NtUserSendNotifyMessage, FALSE );
}
static inline HWND get_focus(void)
{
GUITHREADINFO info;
info.cbSize = sizeof(info);
return NtUserGetGUIThreadInfo( GetCurrentThreadId(), &info ) ? info.hwndFocus : 0;
}
static inline HWND get_active_window(void)
{
GUITHREADINFO info;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment