From 034ee6b09fefdb9abbb61646344593b93ca9eba5 Mon Sep 17 00:00:00 2001 From: InHong Han Date: Wed, 8 Feb 2023 15:14:09 +0900 Subject: [PATCH] Fix issue magnifier window does not change after pressing the key for a long time Change-Id: I65f406976e66d0af86c578a243299f7e51c2e7d4 --- scl/sclcontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scl/sclcontroller.cpp b/scl/sclcontroller.cpp index c99ca56..3617ace 100644 --- a/scl/sclcontroller.cpp +++ b/scl/sclcontroller.cpp @@ -3546,7 +3546,7 @@ CSCLController::timer_event(const scl32 data) if (process_button_long_pressed_event(window, key_index, context->get_last_touch_device_id())) { /* The button processed long key event, now enter longkey mode not to fire any events before releasing */ handle_engine_signal(SCL_SIG_MOUSE_LONG_PRESS, window); - windows->update_window(windows->get_magnifier_window()); + windows->update_window(windows->get_magnifier_window(), 0, 0, 0, 0, WINDOW_MAGNIFIER); /* SclButtonContext *button_context = cache->get_cur_button_context(window, key_index); if (button_context->state == BUTTON_STATE_PRESSED) { -- 2.7.4