efl_ui_win: Directly call ecore_wl2 move and resize functions

Summary:
These ecore_evas_wayland things seem like they shouldn't exist.  The
ecore_wl2 api is better and still in beta so it can be fixed when it's
shown to be broken/wrong as the ecore_evas_wayland ones are. :(

The move API is stuck with x, y co-ordinates that can never make sense,
and neither API is capable of passing seat info.
Depends on D6123

Reviewers: zmike, cedric

Reviewed By: zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6124
This commit is contained in:
Derek Foreman 2018-05-08 13:26:30 -05:00
parent abe295735a
commit 1729cbe33e
1 changed files with 2 additions and 4 deletions

View File

@ -4086,9 +4086,7 @@ _win_move_start(Efl_Ui_Win_Data *sd)
#ifdef HAVE_ELEMENTARY_WL2
if (sd->wl.win)
{
/* Note: Not passing any X,Y position as those don't make sense, only
* the compositor can really handle the window & pointer position. */
ecore_evas_wayland_move(sd->ee, 0, 0);
ecore_wl2_window_move(sd->wl.win, NULL);
return EINA_TRUE;
}
#endif
@ -4139,7 +4137,7 @@ _win_move_resize_start(Efl_Ui_Win_Data *sd, Efl_Ui_Win_Move_Resize_Mode mode)
#ifdef HAVE_ELEMENTARY_WL2
if (sd->wl.win)
{
ecore_evas_wayland_resize(sd->ee, ri->wl_location);
ecore_wl2_window_resize(sd->wl.win, NULL, ri->wl_location);
return EINA_TRUE;
}
#endif