Modified magnifier window not to handle mouse events 92/100192/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Fri, 25 Nov 2016 08:22:00 +0000 (17:22 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 25 Nov 2016 08:26:00 +0000 (00:26 -0800)
Change-Id: I514180641b3e49baced7bd4647f0eb3879982c44

scl/gwes/efl/sclwindows-efl.cpp

index b8a8c8c..4fbdd3c 100644 (file)
@@ -250,6 +250,10 @@ CSCLWindowsImplEfl::create_magnifier_window(const sclwindow parent, SclWindowCon
     elm_win_alpha_set(win, EINA_TRUE);
     elm_win_title_set(win, "ISF Popup");
 
+    /* We are not going to accept mouse events for magnifier window */
+    Eina_Rectangle rect_unset = { -1, -1, 1, 1 };
+    elm_win_input_rect_set(win, &rect_unset);
+
     set_window_accepts_focus(win, FALSE);
 
     int rots[4] = { 0, 90, 180, 270 };