From bea72150fb690cc9cd1fb5cd38a15993a1690fcb Mon Sep 17 00:00:00 2001 From: seflerZ Date: Tue, 16 Apr 2024 23:19:40 +0800 Subject: [PATCH] change parameter types --- sesman/chansrv/input_ibus.c | 2 +- xrdp/xrdp.h | 7 +++---- xrdp/xrdp_mm.c | 7 +++---- xrdp/xrdp_wm.c | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/sesman/chansrv/input_ibus.c b/sesman/chansrv/input_ibus.c index 1f10df1c..003cd58a 100644 --- a/sesman/chansrv/input_ibus.c +++ b/sesman/chansrv/input_ibus.c @@ -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); diff --git a/xrdp/xrdp.h b/xrdp/xrdp.h index 50535439..91a26217 100644 --- a/xrdp/xrdp.h +++ b/xrdp/xrdp.h @@ -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 key_down, - uint32_t unicode); +int xrdp_mm_send_unicode_to_chansrv(struct xrdp_mm *self, + int key_down, + char32_t unicode); struct xrdp_mm * xrdp_mm_create(struct xrdp_wm *owner); void diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c index ff20e3c0..28a6e041 100644 --- a/xrdp/xrdp_mm.c +++ b/xrdp/xrdp_mm.c @@ -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 key_down, - uint32_t unicode) +int xrdp_mm_send_unicode_to_chansrv(struct xrdp_mm *self, + int key_down, + char32_t unicode) { struct stream *s = trans_get_out_s(self->chan_trans, 8192); if (s == NULL) diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c index 619e5f88..642e3fb6 100644 --- a/xrdp/xrdp_wm.c +++ b/xrdp/xrdp_wm.c @@ -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;