Fix incorrect window parameter passing defect 59/221059/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Thu, 20 Jun 2019 01:12:03 +0000 (10:12 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 27 Dec 2019 01:21:03 +0000 (10:21 +0900)
Change-Id: I1de6471db98b6ac3539ff87810ab2c5aee4ffff2

scl/sclcontroller.cpp

index 6f75fde..f515b16 100644 (file)
@@ -2507,7 +2507,7 @@ CSCLController::mouse_release(sclwindow window, sclint x, sclint y, scltouchdevi
 
                             for (int loop = 0;loop < MAX_KEY && !ended;loop++) {
                                 SclButtonContext *button_context = cache->get_cur_button_context(pressed_window, loop);
-                                const SclLayoutKeyCoordinate *coordinate = cache->get_cur_layout_key_coordinate(window, loop);
+                                const SclLayoutKeyCoordinate *coordinate = cache->get_cur_layout_key_coordinate(pressed_window, loop);
                                 if (button_context && coordinate) {
                                     if (!(button_context->used)) {
                                         ended = TRUE;