elm_win: Fix to check if frame_obj is created 26/113426/1
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 7 Feb 2017 04:38:15 +0000 (13:38 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 7 Feb 2017 11:45:07 +0000 (20:45 +0900)
commitd74ddaf579f741b4ac7420bd3e4ff47195bc40d1
treef1fb4bc6a60486bdcf7b7b06ac3db72ef013cf20
parenta2d5d732e36f8553cb6fec24cd6edd8ff2650633
elm_win: Fix to check if frame_obj is created

Since frame_obj is not always created, check if frame_obj is created.

Only the compositor can handle the window & pointer position, call
ecore_evas_wayland_move with (0, 0) instead of x and y position of
frame_obj part.

This patch refers ea7bbfe47dc1df5f51725be05eadf7ebce1d8361 in upstream
(win: Factorize code for move_resize).

Change-Id: Idc3cc97a28c7a8f3ab15baf24bd3e70b24914629
src/lib/elm_win.c