forked from enlightenment/efl
elementary: Don't define handlers if we are not going to use them
These handlers are only used when building for X11, not for Wayland, so conditionally compile them in/out @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
dd649ab639
commit
8ed0aa02cf
|
@ -168,9 +168,11 @@ static int _dragx = 0, _dragy = 0;
|
||||||
static Ecore_Event_Handler *handler_pos = NULL;
|
static Ecore_Event_Handler *handler_pos = NULL;
|
||||||
static Ecore_Event_Handler *handler_drop = NULL;
|
static Ecore_Event_Handler *handler_drop = NULL;
|
||||||
static Ecore_Event_Handler *handler_enter = NULL;
|
static Ecore_Event_Handler *handler_enter = NULL;
|
||||||
static Ecore_Event_Handler *handler_status = NULL;
|
|
||||||
static Ecore_Event_Handler *handler_leave = NULL;
|
static Ecore_Event_Handler *handler_leave = NULL;
|
||||||
|
#ifdef HAVE_ELEMENTARY_X
|
||||||
|
static Ecore_Event_Handler *handler_status = NULL;
|
||||||
static Ecore_Event_Handler *handler_up = NULL;
|
static Ecore_Event_Handler *handler_up = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* TODO BUG: should NEVER have these as globals! They should be per context (window). */
|
/* TODO BUG: should NEVER have these as globals! They should be per context (window). */
|
||||||
static Elm_Drag_Pos dragposcb = NULL;
|
static Elm_Drag_Pos dragposcb = NULL;
|
||||||
|
|
Loading…
Reference in New Issue