change parameter types

This commit is contained in:
seflerZ 2024-04-16 23:19:40 +08:00 committed by sefler
parent a8c075e84e
commit bea72150fb
4 changed files with 8 additions and 10 deletions

View File

@ -222,7 +222,7 @@ xrdp_input_unicode_init()
return 0;
}
LOG(LOG_LEVEL_DEBUG, "xrdp_ibus_init: Initializing the iBus engine");
LOG(LOG_LEVEL_INFO, "xrdp_ibus_init: Initializing the iBus engine");
ibus_init();
bus = ibus_bus_new();
g_object_ref_sink(bus);

View File

@ -483,10 +483,9 @@ xrdp_mm_suppress_output(struct xrdp_mm *self, int suppress,
int left, int top, int right, int bottom);
int
xrdp_mm_up_and_running(struct xrdp_mm *self);
int
xrdp_mm_send_unicode_to_chansrv(struct xrdp_mm *self,
int xrdp_mm_send_unicode_to_chansrv(struct xrdp_mm *self,
int key_down,
uint32_t unicode);
char32_t unicode);
struct xrdp_mm *
xrdp_mm_create(struct xrdp_wm *owner);
void

View File

@ -2148,10 +2148,9 @@ xrdp_mm_up_and_running(struct xrdp_mm *self)
}
/******************************************************************************/
int
xrdp_mm_send_unicode_to_chansrv(struct xrdp_mm *self,
int xrdp_mm_send_unicode_to_chansrv(struct xrdp_mm *self,
int key_down,
uint32_t unicode)
char32_t unicode)
{
struct stream *s = trans_get_out_s(self->chan_trans, 8192);
if (s == NULL)

View File

@ -1677,7 +1677,7 @@ xrdp_wm_key_sync(struct xrdp_wm *self, int device_flags, int key_flags)
/*****************************************************************************/
static int
xrdp_wm_key_unicode(struct xrdp_wm *self, int device_flags, int unicode)
xrdp_wm_key_unicode(struct xrdp_wm *self, int device_flags, char32_t unicode)
{
int index;