Modified to skip outdated touch events
[platform/core/uifw/libscl-ui.git] / scl / scluibuilder.cpp
index c29dfd1..7d97180 100644 (file)
@@ -980,6 +980,7 @@ CSCLUIBuilder::show_magnifier(const sclwindow window, scldrawctx draw_ctx)
     SCL_DEBUG();
     scl_assert_return_false(window);
 
+
     CSCLUtils *utils = CSCLUtils::get_instance();
     CSCLContext *context = CSCLContext::get_instance();
     CSCLResourceCache *cache = CSCLResourceCache::get_instance();
@@ -988,6 +989,7 @@ CSCLUIBuilder::show_magnifier(const sclwindow window, scldrawctx draw_ctx)
 
     if (!utils || !context || !cache || !state || !windows) return FALSE;
 
+    utils->log("show_magnifier");
     sclwindow pressed_window = context->get_cur_pressed_window(context->get_last_touch_device_id());
     scl8 pressed_key = context->get_cur_pressed_key(context->get_last_touch_device_id());