forked from enlightenment/efl
elementary: Don't set pointer surface to NULL
As we no longer destroy a window's wl_surface during hide requests, we should not be setting pointer surface to NULL here. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
4c140180d1
commit
3214dad7c5
|
@ -956,7 +956,6 @@ _elm_win_mouse_out(Ecore_Evas *ee)
|
|||
if ((sd->wl.win) && (sd->pointer.ee))
|
||||
{
|
||||
ecore_evas_hide(sd->pointer.ee);
|
||||
sd->pointer.surf = NULL;
|
||||
ecore_wl2_window_pointer_set(sd->wl.win, NULL,
|
||||
sd->pointer.hot_x, sd->pointer.hot_y);
|
||||
}
|
||||
|
@ -2272,7 +2271,6 @@ _efl_ui_win_hide(Eo *obj, Efl_Ui_Win_Data *sd)
|
|||
if (sd->pointer.ee)
|
||||
{
|
||||
ecore_evas_hide(sd->pointer.ee);
|
||||
sd->pointer.surf = NULL;
|
||||
ecore_wl2_window_pointer_set(sd->wl.win, NULL,
|
||||
sd->pointer.hot_x, sd->pointer.hot_y);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue