e_comp_wl_input: added code to set hotspot_x and y 13/69113/1
authorGwanglim Lee <gl77.lee@samsung.com>
Wed, 11 May 2016 14:33:06 +0000 (23:33 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 11 May 2016 14:33:06 +0000 (23:33 +0900)
Change-Id: I59f6d228dd0a84bc214ed581743c4fd4ea75a0d3

src/bin/e_comp_wl_input.c

index 9cdb329ba4bc5a2f493a4549b76107a24251b62a..983a6dc1232065ab0278b8cca816b9a68be17aab 100644 (file)
@@ -87,6 +87,10 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou
         ec->re_manage = 1;
         ec->ignored = 0;
 
+        // TODO: this should be transformed to the local coordinate of pointer surface
+        ec->x = x;
+        ec->y = y;
+
         ec->lock_focus_out = ec->layer_block = ec->visible = ec->override = 1;
         ec->icccm.title = eina_stringshare_add("noshadow");
         ec->icccm.window_role = eina_stringshare_add("wl_pointer-cursor");