winemac: Move macdrv_sent_text_input to event.c.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
Jacek Caban 2022-05-31 20:09:45 +02:00 committed by Alexandre Julliard
parent e2ae7ccb79
commit fa670ef001
3 changed files with 11 additions and 11 deletions

View file

@ -26,6 +26,7 @@
#include "winuser.h"
WINE_DEFAULT_DEBUG_CHANNEL(event);
WINE_DECLARE_DEBUG_CHANNEL(imm);
/* return the name of an Mac event */
@ -140,6 +141,16 @@ static macdrv_event_mask get_event_mask(DWORD mask)
}
/***********************************************************************
* macdrv_sent_text_input
*/
static void macdrv_sent_text_input(const macdrv_event *event)
{
TRACE_(imm)("handled: %s\n", event->sent_text_input.handled ? "TRUE" : "FALSE");
*event->sent_text_input.done = event->sent_text_input.handled ? 1 : -1;
}
/***********************************************************************
* macdrv_query_event
*

View file

@ -1451,16 +1451,6 @@ void macdrv_im_set_text(const macdrv_event *event)
IME_NotifyComplete(himc);
}
/***********************************************************************
* macdrv_sent_text_input
*/
void macdrv_sent_text_input(const macdrv_event *event)
{
TRACE("handled: %s\n", event->sent_text_input.handled ? "TRUE" : "FALSE");
*event->sent_text_input.done = event->sent_text_input.handled ? 1 : -1;
}
/**************************************************************************
* query_ime_char_rect
*/

View file

@ -290,7 +290,6 @@ extern CGImageRef create_cgimage_from_icon_bitmaps(HDC hdc, HANDLE icon, HBITMAP
extern NTSTATUS macdrv_ime_process_text_input(void *arg) DECLSPEC_HIDDEN;
extern void macdrv_im_set_text(const macdrv_event *event) DECLSPEC_HIDDEN;
extern void macdrv_sent_text_input(const macdrv_event *event) DECLSPEC_HIDDEN;
extern BOOL query_ime_char_rect(macdrv_query* query) DECLSPEC_HIDDEN;
/* unixlib interface */