Fix issue magnifier window does not change after pressing the key for a long time 45/287945/2
authorInHong Han <inhong1.han@samsung.com>
Wed, 8 Feb 2023 06:14:09 +0000 (15:14 +0900)
committerInHong Han <inhong1.han@samsung.com>
Fri, 10 Feb 2023 05:28:06 +0000 (14:28 +0900)
Change-Id: I65f406976e66d0af86c578a243299f7e51c2e7d4

scl/sclcontroller.cpp

index c99ca56..3617ace 100644 (file)
@@ -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) {