From a597b53f4c3e8f479403c6bb10061a075c950147 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 1 Jul 2015 16:08:21 -0400 Subject: [PATCH] fix e_scale wayland conditional defines --- src/bin/e_scale.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_scale.c b/src/bin/e_scale.c index 468d313..9c13dec 100644 --- a/src/bin/e_scale.c +++ b/src/bin/e_scale.c @@ -25,7 +25,8 @@ e_scale_update(void) #ifndef HAVE_WAYLAND_ONLY if (e_comp->comp_type == E_PIXMAP_TYPE_X) e_scale = (double)ecore_x_dpi_get() / (double)e_config->scale.base_dpi; -#else +#endif +#ifdef HAVE_WAYLAND if (e_comp->comp_type == E_PIXMAP_TYPE_WL) e_scale = (double)ecore_wl_dpi_get() / (double)e_config->scale.base_dpi; #endif -- 2.7.4