ignore intercepted mouse events for non-wl compositing

devs/bu5hm4n/luncher_verbose
Mike Blumenkrantz 7 years ago
parent 30f1b8b9c3
commit 85aaa64f11
  1. 1
      src/bin/e_comp_canvas.c

@ -208,6 +208,7 @@ _e_comp_cb_mouse_move(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_Event_Mouse_
{
static int x = -9999, y = -9999;
if (e_comp->comp_type != E_PIXMAP_TYPE_WL) return ECORE_CALLBACK_RENEW;
if (x == -9999)
x = ev->x, y = ev->y;
if ((x == ev->x) && (y == ev->y)) return ECORE_CALLBACK_RENEW;

Loading…
Cancel
Save