From b443eab6dd1a14f3414f170a0624ffae9bf57cc5 Mon Sep 17 00:00:00 2001 From: nash Date: Tue, 8 Jun 2010 07:20:12 +0000 Subject: [PATCH] Minor tweak: Include stdio if logging enabled (ugly, but it is for debug) git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49564 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_x/xlib/ecore_x_private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/ecore_x/xlib/ecore_x_private.h b/src/lib/ecore_x/xlib/ecore_x_private.h index 484a7f2..b322817 100644 --- a/src/lib/ecore_x/xlib/ecore_x_private.h +++ b/src/lib/ecore_x/xlib/ecore_x_private.h @@ -297,9 +297,10 @@ void _ecore_x_input_handler(XEvent* xevent); void _ecore_mouse_move(unsigned int timestamp, unsigned int xmodifiers, int x, int y, int x_root, int y_root, unsigned int event_window, unsigned int window, unsigned int root_win, int same_screen, int dev, double radx, double rady, double pressure, double angle, double mx, double my, double mrx, double mry); Ecore_Event_Mouse_Button *_ecore_mouse_button(int event, unsigned int timestamp, unsigned int xmodifiers, unsigned int buttons, int x, int y, int x_root, int y_root, unsigned int event_window, unsigned int window, unsigned int root_win, int same_screen, int dev, double radx, double rady, double pressure, double angle, double mx, double my, double mrx, double mry); -//#define LOGFNS 1 +#define LOGFNS 1 #ifdef LOGFNS +#include #define LOGFN(fl, ln, fn) printf("-ECORE-X: %25s: %5i - %s\n", fl, ln, fn); #else #define LOGFN(fl, ln, fn) -- 2.7.4