elementary: Don't set pointer surface to NULL
authorChris Michael <cp.michael@samsung.com>
Fri, 2 Dec 2016 18:03:20 +0000 (13:03 -0500)
committerChris Michael <cp.michael@samsung.com>
Fri, 2 Dec 2016 19:25:10 +0000 (14:25 -0500)
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>
src/lib/elementary/efl_ui_win.c

index da07122..7bbf379 100644 (file)
@@ -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);
      }