From 5097ba893bc6c643c5e705c4c3ae5ecf2a343ba5 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Wed, 1 Feb 2017 16:21:34 -0600 Subject: [PATCH] ecore_wl2: Make www events opt-in Now we must set EFL_WAYLAND_ENABLE_WWW to turn on www. (Note: this does NOT re-enable any visual effect, it merely controls the event infrastructure that can be used to let a client know when its window is mapped or moving) This wasn't really disabled properly earlier, so disable it now for a slight performance win when dragging windows (and a major reduction in log chatter when debugging wayland) --- src/lib/ecore_wl2/ecore_wl2_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c index c2fc38d73f..b469e4ce40 100644 --- a/src/lib/ecore_wl2/ecore_wl2_display.c +++ b/src/lib/ecore_wl2/ecore_wl2_display.c @@ -187,7 +187,7 @@ _cb_global_add(void *data, struct wl_registry *registry, unsigned int id, const &_zxdg_shell_listener, NULL); } else if ((eina_streq(interface, "www")) && - (!getenv("EFL_WAYLAND_DISABLE_WWW"))) + (getenv("EFL_WAYLAND_ENABLE_WWW"))) { Ecore_Wl2_Window *window;