ximagesrc: Fix build problem without XFIXES

This commit is contained in:
Linus Svensson 2014-09-22 16:15:27 +02:00 committed by Sebastian Dröge
parent 89eb378598
commit 5fc970d686

View file

@ -372,6 +372,7 @@ gst_ximage_src_recalc (GstXImageSrc * src)
return TRUE; return TRUE;
} }
#ifdef HAVE_XFIXES
static gboolean static gboolean
gst_ximage_is_pointer_in_region (GstXImageSrc * src) gst_ximage_is_pointer_in_region (GstXImageSrc * src)
{ {
@ -388,6 +389,7 @@ gst_ximage_is_pointer_in_region (GstXImageSrc * src)
return (on_window && (win_x >= src->startx) && (win_y >= src->starty) && return (on_window && (win_x >= src->startx) && (win_y >= src->starty) &&
(win_x < src->endx) && (win_y < src->endy)); (win_x < src->endx) && (win_y < src->endy));
} }
#endif
#ifdef HAVE_XFIXES #ifdef HAVE_XFIXES
static void static void